mirror of
https://github.com/smogon/pokemon-showdown.git
synced 2026-06-02 22:08:36 -05:00
Update all links returned by commands to HTTPS
This commit is contained in:
parent
3e4b506a7e
commit
563d691e05
|
|
@ -317,8 +317,8 @@ var commands = exports.commands = {
|
|||
return '<font color=#585858>' + detail + (details[detail] !== '' ? ':</font> ' + details[detail] : '</font>');
|
||||
}).join(" |  ") + '</font>';
|
||||
|
||||
if (isSnatch) buffer += ' |  <a href="http://pokemonshowdown.com/dex/moves/snatch"><font size="1">Snatchable Moves</font></a>';
|
||||
if (isMirrorMove) buffer += ' |  <a href="http://pokemonshowdown.com/dex/moves/mirrormove"><font size="1">Mirrorable Moves</font></a>';
|
||||
if (isSnatch) buffer += ' |  <a href="https://pokemonshowdown.com/dex/moves/snatch"><font size="1">Snatchable Moves</font></a>';
|
||||
if (isMirrorMove) buffer += ' |  <a href="https://pokemonshowdown.com/dex/moves/mirrormove"><font size="1">Mirrorable Moves</font></a>';
|
||||
}
|
||||
this.sendReply(buffer);
|
||||
},
|
||||
|
|
@ -1367,7 +1367,7 @@ var commands = exports.commands = {
|
|||
var buffer = '<div class="scrollable"><table cellpadding="1" width="100%"><tr><th></th>';
|
||||
var icon = {};
|
||||
for (var type in Tools.data.TypeChart) {
|
||||
icon[type] = '<img src="http://play.pokemonshowdown.com/sprites/types/' + type + '.png" width="32" height="14">';
|
||||
icon[type] = '<img src="https://play.pokemonshowdown.com/sprites/types/' + type + '.png" width="32" height="14">';
|
||||
// row of icons at top
|
||||
buffer += '<th>' + icon[type] + '</th>';
|
||||
}
|
||||
|
|
@ -1496,7 +1496,7 @@ var commands = exports.commands = {
|
|||
|
||||
forums: function (target, room, user) {
|
||||
if (!this.canBroadcast()) return;
|
||||
this.sendReplyBox("<a href=\"http://www.smogon.com/forums/forums/pok%C3%A9mon-showdown.209\">Pokémon Showdown Forums</a>");
|
||||
this.sendReplyBox("<a href=\"https://www.smogon.com/forums/forums/pok%C3%A9mon-showdown.209\">Pokémon Showdown Forums</a>");
|
||||
},
|
||||
|
||||
suggestions: function (target, room, user) {
|
||||
|
|
@ -1508,11 +1508,11 @@ var commands = exports.commands = {
|
|||
bugs: function (target, room, user) {
|
||||
if (!this.canBroadcast()) return;
|
||||
if (room.battle) {
|
||||
this.sendReplyBox("<center><button name=\"saveReplay\"><i class=\"icon-upload\"></i> Save Replay</button> — <a href=\"http://www.smogon.com/forums/threads/3520646/\">Questions</a> — <a href=\"https://www.smogon.com/forums/threads/3469932/\">Bug Reports</a></center>");
|
||||
this.sendReplyBox("<center><button name=\"saveReplay\"><i class=\"icon-upload\"></i> Save Replay</button> — <a href=\"https://www.smogon.com/forums/threads/3520646/\">Questions</a> — <a href=\"https://www.smogon.com/forums/threads/3469932/\">Bug Reports</a></center>");
|
||||
} else {
|
||||
this.sendReplyBox(
|
||||
"Have a replay showcasing a bug on Pokémon Showdown?<br />" +
|
||||
"- <a href=\"http://www.smogon.com/forums/threads/3520646/\">Questions</a><br />" +
|
||||
"- <a href=\"https://www.smogon.com/forums/threads/3520646/\">Questions</a><br />" +
|
||||
"- <a href=\"https://www.smogon.com/forums/threads/3469932/\">Bug Reports</a>"
|
||||
);
|
||||
}
|
||||
|
|
@ -1653,7 +1653,7 @@ var commands = exports.commands = {
|
|||
if (target === 'all' || target === 'pu') {
|
||||
matched = true;
|
||||
if (target !== 'all') buffer += "The unofficial tier below NU.<br />";
|
||||
buffer += "- <a href=\"http://www.smogon.com/forums/forums/pu.327/\">PU</a><br />";
|
||||
buffer += "- <a href=\"https://www.smogon.com/forums/forums/pu.327/\">PU</a><br />";
|
||||
}
|
||||
if (target === 'all' || target === 'inversebattle' || target === 'inverse') {
|
||||
matched = true;
|
||||
|
|
@ -1835,7 +1835,7 @@ var commands = exports.commands = {
|
|||
}
|
||||
if (target === 'all' || target === 'star' || target === 'player') {
|
||||
matched = true;
|
||||
buffer += '<a href="http://www.smogon.com/sim/faq#star">Why is there this star (★) in front of my username?</a><br />';
|
||||
buffer += '<a href="https://www.smogon.com/sim/faq#star">Why is there this star (★) in front of my username?</a><br />';
|
||||
}
|
||||
if (target === 'all' || target === 'staff') {
|
||||
matched = true;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user