Pārlūkot izejas kodu

add verifcation guide for Gamepedia

Markus-Rost 5 gadi atpakaļ
vecāks
revīzija
66f1a3364a
10 mainītis faili ar 10 papildinājumiem un 10 dzēšanām
  1. 1 1
      bot.js
  2. 1 1
      i18n/de.json
  3. 1 1
      i18n/en.json
  4. 1 1
      i18n/fr.json
  5. 1 1
      i18n/nl.json
  6. 1 1
      i18n/pl.json
  7. 1 1
      i18n/pt.json
  8. 1 1
      i18n/ru.json
  9. 1 1
      i18n/tr.json
  10. 1 1
      i18n/zh.json

+ 1 - 1
bot.js

@@ -2336,7 +2336,7 @@ function cmd_verify(lang, msg, args, line, wiki) {
 					if ( msg.author.tag.escapeFormatting() !== discordname ) {
 						embed.setColor('#FFFF00').setDescription( lang.verify.user_failed.replaceSave( '%1$s', msg.member.toString() ).replaceSave( '%2$s', '[' + username.escapeFormatting() + '](' + pagelink + ')' ) );
 						var help_link = '';
-						if ( wiki.endsWith( '.gamepedia.com/' ) ) help_link = lang.verify.help_gamepedia;
+						if ( wiki.endsWith( '.gamepedia.com/' ) ) help_link = lang.verify.help_gamepedia + '?c=' + ( msg.guild.id in patreons && patreons[msg.guild.id] !== process.env.prefix ? encodeURIComponent( patreons[msg.guild.id] + ' verify' ) : 'wb' ) + ( msg.channel.name !== 'verification' ? '&ch=' + encodeURIComponent( msg.channel.name ) : '' ) + '&user=' + username.toTitle(true, true) + '&discord=' + encodeURIComponent( msg.author.username ) + '&tag=' + msg.author.discriminator;
 						else if ( wiki.isFandom() ) help_link = lang.verify.help_fandom + '/' + username.toTitle(true) + '?c=' + ( msg.guild.id in patreons && patreons[msg.guild.id] !== process.env.prefix ? encodeURIComponent( patreons[msg.guild.id] + ' verify' ) : 'wb' ) + ( msg.channel.name !== 'verification' ? '&ch=' + encodeURIComponent( msg.channel.name ) : '' ) + '&user=' + encodeURIComponent( msg.author.username ) + '&tag=' + msg.author.discriminator;
 						if ( help_link.length ) embed.addField( lang.verify.notice, lang.verify.help_guide.replaceSave( '%s', help_link ) + '\n' + help_link );
 						msg.replyMsg( lang.verify.user_failed_reply.replaceSave( '%s', username.escapeFormatting() ), {embed}, false, false );

+ 1 - 1
i18n/de.json

@@ -150,7 +150,7 @@
 		"qualified": "Qualifiziert für:",
 		"qualified_error": "Qualifiziert für, aber konnte nicht hinzugefügt werden:",
 		"help_guide": "Folge [dieser Anleitung](%s) um dein Discord-Tag auf deinem Wiki-Profil hinzuzufügen:",
-		"help_gamepedia": "https://help-de.gamepedia.com/Discord",
+		"help_gamepedia": "https://help.gamepedia.com/Gamepedia_Help_Wiki:Discord_verification",
 		"help_fandom": "https://community.fandom.com/wiki/Special:VerifyUser",
 		"help_subpage": "Bitte füge dein Discord-Tag (%s) zu deiner Discord-Unterseite im Wiki hinzu:"
 	},

+ 1 - 1
i18n/en.json

@@ -145,7 +145,7 @@
 		"qualified": "Qualified for:",
 		"qualified_error": "Qualified for, but could not add:",
 		"help_guide": "Follow [this guide](%s) to add your Discord tag to your wiki profile:",
-		"help_gamepedia": "https://help.gamepedia.com/Discord",
+		"help_gamepedia": "https://help.gamepedia.com/Gamepedia_Help_Wiki:Discord_verification",
 		"help_fandom": "https://community.fandom.com/wiki/Special:VerifyUser",
 		"help_subpage": "Please add your Discord tag (%s) to your Discord subpage on the wiki:"
 	},

+ 1 - 1
i18n/fr.json

@@ -147,7 +147,7 @@
 		"qualified": "Qualified for:",
 		"qualified_error": "Qualified for, but could not add:",
 		"help_guide": "Follow [this guide](%s) to add your Discord tag to your wiki profile.",
-		"help_gamepedia": "https://help.gamepedia.com/Discord",
+		"help_gamepedia": "https://help.gamepedia.com/Gamepedia_Help_Wiki:Discord_verification",
 		"help_fandom": "https://community.fandom.com/wiki/Special:VerifyUser",
 		"help_subpage": "Please add your Discord tag (%s) to your Discord subpage on the wiki:"
 	},

+ 1 - 1
i18n/nl.json

@@ -149,7 +149,7 @@
 		"qualified": "Qualified for:",
 		"qualified_error": "Qualified for, but could not add:",
 		"help_guide": "Follow [this guide](%s) to add your Discord tag to your wiki profile.",
-		"help_gamepedia": "https://help.gamepedia.com/Discord",
+		"help_gamepedia": "https://help.gamepedia.com/Gamepedia_Help_Wiki:Discord_verification",
 		"help_fandom": "https://community.fandom.com/wiki/Special:VerifyUser",
 		"help_subpage": "Please add your Discord tag (%s) to your Discord subpage on the wiki:"
 	},

+ 1 - 1
i18n/pl.json

@@ -150,7 +150,7 @@
 		"qualified": "Pozwala na otrzymanie ról:",
 		"qualified_error": "Pozwala na otrzymanie ról, których nie udało się dodać:",
 		"help_guide": "Podążaj za [tym poradnikiem](%s) w celu dodania nazwy użytkownika Discord na profil wiki.",
-		"help_gamepedia": "https://help-pl.gamepedia.com/Discord",
+		"help_gamepedia": "https://help.gamepedia.com/Gamepedia_Help_Wiki:Discord_verification",
 		"help_fandom": "https://community.fandom.com/wiki/Special:VerifyUser",
 		"help_subpage": "Dodaj swoją nazwę użytkownika Discord (%s) do podstrony Discord na wiki:"
 	},

+ 1 - 1
i18n/pt.json

@@ -151,7 +151,7 @@
 		"qualified": "Qualificado para o cargo:",
 		"qualified_error": "Não foi possível adicionar, mas está qualificado para o cargo:",
 		"help_guide": "Siga [esse guia](%s) para associar seu nome de usuário do Discord ao seu usuário na wiki:",
-		"help_gamepedia": "https://help-pt.gamepedia.com/Discord",
+		"help_gamepedia": "https://help.gamepedia.com/Gamepedia_Help_Wiki:Discord_verification",
 		"help_fandom": "https://community.fandom.com/wiki/Special:VerifyUser",
 		"help_subpage": "Adicione seu nome de usuário do Discord (%s) para sua subpágina do Discord na wiki:"
 	},

+ 1 - 1
i18n/ru.json

@@ -147,7 +147,7 @@
 		"qualified": "Оценен для:",
 		"qualified_error": "Оценен, но не может быть добавлен:",
 		"help_guide": "Изучите [этот гайд](%s) для добавления пользователя Discord в свой профиль:",
-		"help_gamepedia": "https://help.gamepedia.com/Discord",
+		"help_gamepedia": "https://help.gamepedia.com/Gamepedia_Help_Wiki:Discord_verification",
 		"help_fandom": "https://community.fandom.com/wiki/Special:VerifyUser",
 		"help_subpage": "Please add your Discord tag (%s) to your Discord subpage on the wiki:"
 	},

+ 1 - 1
i18n/tr.json

@@ -149,7 +149,7 @@
 		"qualified": "Qualified for:",
 		"qualified_error": "Qualified for, but could not add:",
 		"help_guide": "Follow [this guide](%s) to add your Discord tag to your wiki profile.",
-		"help_gamepedia": "https://help.gamepedia.com/Discord",
+		"help_gamepedia": "https://help.gamepedia.com/Gamepedia_Help_Wiki:Discord_verification",
 		"help_fandom": "https://community.fandom.com/wiki/Special:VerifyUser",
 		"help_subpage": "Please add your Discord tag (%s) to your Discord subpage on the wiki:"
 	},

+ 1 - 1
i18n/zh.json

@@ -148,7 +148,7 @@
 		"qualified": "符合:",
 		"qualified_error": "符合,但无法添加:",
 		"help_guide": "请根据[此指导](%s)来添加您的Discord用户名至您的wiki资料页。",
-		"help_gamepedia": "https://help.gamepedia.com/Discord",
+		"help_gamepedia": "https://help.gamepedia.com/Gamepedia_Help_Wiki:Discord_verification",
 		"help_fandom": "https://community.fandom.com/zh/wiki/Special:VerifyUser",
 		"help_subpage": "请将您的Discord用户名(%s)添加至您在wiki上的Discord子页面:"
 	},