Skip to content

Commit 40d193c

Browse files
committed
Fix!
This is a workaround for the #plugbug that fails to parse image links for bots with gold subscriptions. Commands affected: !gif
1 parent 11f5f79 commit 40d193c

File tree

14 files changed

+49
-73
lines changed

14 files changed

+49
-73
lines changed

.gitattributes

Lines changed: 0 additions & 22 deletions
This file was deleted.

basicBot.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3722,5 +3722,3 @@
37223722

37233723
loadChat(basicBot.startup);
37243724
}).call(this);
3725-
3726-
// isebella sux

lang/cs.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -91,9 +91,9 @@
9191
"spam": "\/me @%%NAME%%, pros\u00edm nespamuj.",
9292
"roomadvertising": "\/me @%%NAME%%, nepos\u00edlej odkazy na jin\u00e9 m\u00edstnosti pros\u00edm.",
9393
"adfly": "\/me @%%NAME%%, pros\u00edm zm\u011b\u0148 si sv\u016fj AutoWoot. Navrhujeme PlugCubed: http:\/\/plugcubed.net\/",
94-
"validgiftags": "\/me [@%%NAME%%] http:\/\/media.giphy.com\/media\/%%ID%%\/giphy.gif [Tags: %%TAGS%%]",
95-
"invalidgiftags": "\/me [@%%NAME%%] Neplatn\u00fd tag, zkus jin\u00fd. [Tags: %%TAGS%%]",
96-
"validgifrandom": "\/me [@%%NAME%%] http:\/\/media.giphy.com\/media\/%%ID%%\/giphy.gif [N\u00e1hodn\u00fd GIF]",
94+
"validgiftags": "\/me [@%%NAME%%] [Tags: %%TAGS%%] http:\/\/media.giphy.com\/media\/%%ID%%\/giphy.gif",
95+
"invalidgiftags": "\/me [@%%NAME%%] [Tags: %%TAGS%%] Neplatn\u00fd tag, zkus jin\u00fd.",
96+
"validgifrandom": "\/me [@%%NAME%%] [N\u00e1hodn\u00fd GIF] http:\/\/media.giphy.com\/media\/%%ID%%\/giphy.gif",
9797
"invalidgifrandom": "\/me [@%%NAME%%] Neplatn\u00e1 \u017e\u00e1dost, zkus to znovu.",
9898
"invalidtime": "\/me [@%%NAME%%] Byl zad\u00e1n neplatn\u00fd \u010das.",
9999
"nouserspecified": "\/me [@%%NAME%%] Nebyl zad\u00e1n u\u017eivatel.",
@@ -207,4 +207,4 @@
207207
"thorcd": "\/me @%%NAME%% you can try to lift the hammer in %%TIME%% minutes.",
208208
"thorWorthy": "\/me @%%NAME%% you're worthy of the hammer :hammer:, congratulations!",
209209
"thorNotWorthy": "\/me @%%NAME%% you're not worthy of the hammer."
210-
}
210+
}

lang/de.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -91,9 +91,9 @@
9191
"spam": "\/me @%%NAME%%, spamme bitte nicht.",
9292
"roomadvertising": "\/me @%%NAME%%, poste bitte keine Links zu anderen R\u00e4umen.",
9393
"adfly": "\/me @%%NAME%%, bitte \u00e4ndere dein Autowootprogramm. Wir empfehlen PlugCubed: http:\/\/plugcubed.net\/",
94-
"validgiftags": "\/me [@%%NAME%%] http:\/\/i.giphy.com\/%%ID%%.gif [Schlagw\u00f6rter: %%TAGS%%]",
95-
"invalidgiftags": "\/me [@%%NAME%%] Ung\u00fcltige Schlagw\u00f6rter. Versuche etwas Anderes. [Schlagw\u00f6rter: %%TAGS%%]",
96-
"validgifrandom": "\/me [@%%NAME%%] http:\/\/i.giphy.com\/%%ID%%.gif [Zuf\u00e4llige GIF]",
94+
"validgiftags": "\/me [@%%NAME%%] [Schlagw\u00f6rter: %%TAGS%%] http:\/\/i.giphy.com\/%%ID%%.gif",
95+
"invalidgiftags": "\/me [@%%NAME%%] [Schlagw\u00f6rter: %%TAGS%%] Ung\u00fcltige Schlagw\u00f6rter. Versuche etwas Anderes.",
96+
"validgifrandom": "\/me [@%%NAME%%] [Zuf\u00e4llige GIF] http:\/\/i.giphy.com\/%%ID%%.gif",
9797
"invalidgifrandom": "\/me [@%%NAME%%] Ung\u00fcltige Anfrage. Versuche es erneut.",
9898
"invalidtime": "\/me [@%%NAME%%] Ung\u00fcltig festgelegte Zeit.",
9999
"nouserspecified": "\/me [@%%NAME%%] Kein Benutzer festgelegt.",
@@ -207,4 +207,4 @@
207207
"thorcd": "\/me @%%NAME%% you can try to lift the hammer in %%TIME%% minutes.",
208208
"thorWorthy": "\/me @%%NAME%% you're worthy of the hammer :hammer:, congratulations!",
209209
"thorNotWorthy": "\/me @%%NAME%% you're not worthy of the hammer."
210-
}
210+
}

lang/en.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@
5757
],
5858
"nodatafound": "No previous data found.",
5959
"currentlang": "\/me Language currently set to: %%LANGUAGE%%",
60-
"langerror": "\/me The language you've selected isn't available. Please visit %%LINK%% to find a list of languages available.",
60+
"langerror": "\/me The language you've selected isn't available. List of languages available: %%LINK%%",
6161
"langset": "\/me Language now set to: %%LANGUAGE%%",
6262
"retrievingdata": "Retrieving previously stored data.",
6363
"datarestored": "Previously stored data successfully retrieved.",
@@ -91,9 +91,9 @@
9191
"spam": "\/me @%%NAME%%, please don't spam.",
9292
"roomadvertising": "\/me @%%NAME%%, don't post links to other rooms please.",
9393
"adfly": "\/me @%%NAME%%, please change your autowoot program. We suggest PlugCubed: http:\/\/plugcubed.net\/",
94-
"validgiftags": "\/me [@%%NAME%%] http:\/\/i.giphy.com\/%%ID%%.gif [Tags: %%TAGS%%]",
95-
"invalidgiftags": "\/me [@%%NAME%%] Invalid tags, try something different. [Tags: %%TAGS%%]",
96-
"validgifrandom": "\/me [@%%NAME%%] http:\/\/i.giphy.com\/%%ID%%.gif [Random GIF]",
94+
"validgiftags": "\/me [@%%NAME%%] [Tags: %%TAGS%%] http:\/\/i.giphy.com\/%%ID%%.gif",
95+
"invalidgiftags": "\/me [@%%NAME%%] [Tags: %%TAGS%%] Invalid tags, try something different.",
96+
"validgifrandom": "\/me [@%%NAME%%] [Random GIF] http:\/\/i.giphy.com\/%%ID%%.gif",
9797
"invalidgifrandom": "\/me [@%%NAME%%] Invalid request, try again.",
9898
"invalidtime": "\/me [@%%NAME%%] Invalid time specified.",
9999
"nouserspecified": "\/me [@%%NAME%%] No user specified.",
@@ -207,4 +207,4 @@
207207
"thorcd": "\/me @%%NAME%% you can try to lift the hammer in %%TIME%% minutes.",
208208
"thorWorthy": "\/me @%%NAME%% you're worthy of the hammer :hammer:, congratulations!",
209209
"thorNotWorthy": "\/me @%%NAME%% you're not worthy of the hammer."
210-
}
210+
}

lang/es-ES.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -91,9 +91,9 @@
9191
"spam": "\/me @%%NAME%%, por favor no spamees.",
9292
"roomadvertising": "\/me @%%NAME%%, no postees links hacia otras salas por favor.",
9393
"adfly": "\/me @%%NAME%%, por favor cambia tu programa de \"autogenial\". Te sugerimos PlugCubed: http:\/\/plugcubed.net\/",
94-
"validgiftags": "\/me [@%%NAME%%] http:\/\/i.giphy.com\/%%ID%%.gif [Tags: %%TAGS%%]",
95-
"invalidgiftags": "\/me [@%%NAME%%] Etiquetas invalidas, por favor prueba algo diferente. [Etiquetas: %%TAGS%%]",
96-
"validgifrandom": "\/me [@%%NAME%%] http:\/\/i.giphy.com\/%%ID%%.gif [Random GIF]",
94+
"validgiftags": "\/me [@%%NAME%%] [Tags: %%TAGS%%] http:\/\/i.giphy.com\/%%ID%%.gif",
95+
"invalidgiftags": "\/me [@%%NAME%%] [Etiquetas: %%TAGS%%] Etiquetas invalidas, por favor prueba algo diferente.",
96+
"validgifrandom": "\/me [@%%NAME%%] [Random GIF] http:\/\/i.giphy.com\/%%ID%%.gif",
9797
"invalidgifrandom": "\/me [@%%NAME%%] Solicitud no v\u00e1lida, vuelva a intentarlo.",
9898
"invalidtime": "\/me [@%%NAME%%] Tiempo especificado invalido.",
9999
"nouserspecified": "\/me [@%%NAME%%] Usuario no especificado.",
@@ -207,4 +207,4 @@
207207
"thorcd": "\/me @%%NAME%% you can try to lift the hammer in %%TIME%% minutes.",
208208
"thorWorthy": "\/me @%%NAME%% you're worthy of the hammer :hammer:, congratulations!",
209209
"thorNotWorthy": "\/me @%%NAME%% you're not worthy of the hammer."
210-
}
210+
}

lang/fr.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -91,9 +91,9 @@
9191
"spam": "\/me @%%NAME%%, merci de ne pas spammer.",
9292
"roomadvertising": "\/me @%%NAME%%, ne postez pas de liens menant vers d'autres salles.",
9393
"adfly": "\/me @%%NAME%%, merci de changer votre programme d'Autowoot. Nous vous sugg\u00e9rons PlugCubed : http:\/\/plugcubed.net\/",
94-
"validgiftags": "\/me [@%%NAME%%] http:\/\/i.giphy.com\/%%ID%%.gif [Tags: %%TAGS%%]",
95-
"invalidgiftags": "\/me [@%%NAME%%] Tags invalides, essayez-en d'autres. [Tags : %%TAGS%%]",
96-
"validgifrandom": "\/me [@%%NAME%%] http:\/\/i.giphy.com\/%%ID%%.gif [GIF Al\u00e9atoire]",
94+
"validgiftags": "\/me [@%%NAME%%] [Tags: %%TAGS%%] http:\/\/i.giphy.com\/%%ID%%.gif",
95+
"invalidgiftags": "\/me [@%%NAME%%] [Tags : %%TAGS%%] Tags invalides, essayez-en d'autres.",
96+
"validgifrandom": "\/me [@%%NAME%%] [GIF Al\u00e9atoire] http:\/\/i.giphy.com\/%%ID%%.gif",
9797
"invalidgifrandom": "\/me [@%%NAME%%] Requ\u00eate invalide, essayez encore.",
9898
"invalidtime": "\/me [@%%NAME%%] Temps sp\u00e9cifi\u00e9 invalide.",
9999
"nouserspecified": "\/me [@%%NAME%%] Aucun utilisateur sp\u00e9cifi\u00e9.",
@@ -207,4 +207,4 @@
207207
"thorcd": "\/me @%%NAME%% you can try to lift the hammer in %%TIME%% minutes.",
208208
"thorWorthy": "\/me @%%NAME%% you're worthy of the hammer :hammer:, congratulations!",
209209
"thorNotWorthy": "\/me @%%NAME%% you're not worthy of the hammer."
210-
}
210+
}

lang/ms.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -91,9 +91,9 @@
9191
"spam": "\/me @%%NAME%%, sila jangan spam.",
9292
"roomadvertising": "\/me @%%NAME%%, sila jangan pos link ke bilik-bilik lain.",
9393
"adfly": "\/me @%%NAME%%, sila tukar autowoot program anda. Kami mencadangkan Plugcubed: http:\/\/plugcubed.net",
94-
"validgiftags": "\/me [@%%NAME%%] http:\/\/i.giphy.com\/%%ID%%.gif [Tag: %%TAGS%%]",
95-
"invalidgiftags": "\/me [@%%NAME%%] tag yang tidak sah, sila cuba yang lain. [Tag: %%TAGS%%]",
96-
"validgifrandom": "\/me [@%%NAME%%] http:\/\/i.giphy.com\/%%ID%%.gif [Random GIF]",
94+
"validgiftags": "\/me [@%%NAME%%] [Tag: %%TAGS%%] http:\/\/i.giphy.com\/%%ID%%.gif",
95+
"invalidgiftags": "\/me [@%%NAME%%] [Tag: %%TAGS%%] tag yang tidak sah, sila cuba yang lain.",
96+
"validgifrandom": "\/me [@%%NAME%%] [Random GIF] http:\/\/i.giphy.com\/%%ID%%.gif",
9797
"invalidgifrandom": "\/me [@%%NAME%%] Permintaan yang tidak sah, cuba lagi.",
9898
"invalidtime": "\/me [@%%NAME%%] masa yang dinyatakan tidak sah.",
9999
"nouserspecified": "\/me [@%%NAME%%] Tidak ada pengguna yang dinyatakan.",
@@ -207,4 +207,4 @@
207207
"thorcd": "\/me @%%NAME%% you can try to lift the hammer in %%TIME%% minutes.",
208208
"thorWorthy": "\/me @%%NAME%% you're worthy of the hammer :hammer:, congratulations!",
209209
"thorNotWorthy": "\/me @%%NAME%% you're not worthy of the hammer."
210-
}
210+
}

lang/nl.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -91,9 +91,9 @@
9191
"spam": "\/me @%%NAME%%, spam alsjeblieft niet.",
9292
"roomadvertising": "\/me @%%NAME%%, link alsjeblieft geen andere gemeenschappen.",
9393
"adfly": "\/me @%%NAME%%, verander alsjeblieft je autowoot programma. Wij raden PlugCubed aan: http:\/\/plugcubed.net\/",
94-
"validgiftags": "\/me [@%%NAME%%] http:\/\/media.giphy.com\/media\/%%ID%%\/giphy.gif [Tags: %%TAGS%%]",
95-
"invalidgiftags": "\/me [@%%NAME%%] Ongeldige tags, probeer iets anders. [Tags: %%TAGS%%]",
96-
"validgifrandom": "\/me [@%%NAME%%] http:\/\/media.giphy.com\/media\/%%ID%%\/giphy.gif [Willekeurige GIF]",
94+
"validgiftags": "\/me [@%%NAME%%] [Tags: %%TAGS%%] http:\/\/media.giphy.com\/media\/%%ID%%\/giphy.gif",
95+
"invalidgiftags": "\/me [@%%NAME%%] [Tags: %%TAGS%%] Ongeldige tags, probeer iets anders.",
96+
"validgifrandom": "\/me [@%%NAME%%] [Willekeurige GIF] http:\/\/media.giphy.com\/media\/%%ID%%\/giphy.gif",
9797
"invalidgifrandom": "\/me [@%%NAME%%] Ongeldig verzoek, probeer het opnieuw.",
9898
"invalidtime": "\/me [@%%NAME%%] Ongeldige tijd opgegeven.",
9999
"nouserspecified": "\/me [@%%NAME%%] Geen gebruiker gespecificeerd.",
@@ -207,4 +207,4 @@
207207
"thorcd": "\/me @%%NAME%% you can try to lift the hammer in %%TIME%% minutes.",
208208
"thorWorthy": "\/me @%%NAME%% you're worthy of the hammer :hammer:, congratulations!",
209209
"thorNotWorthy": "\/me @%%NAME%% you're not worthy of the hammer."
210-
}
210+
}

lang/pl.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -91,9 +91,9 @@
9191
"spam": "\/me @%%NAME%%, nie spamuj.",
9292
"roomadvertising": "\/me @%%NAME%%, nie podawaj link\u00f3w do innych spo\u0142eczno\u015bci.",
9393
"adfly": "\/me @%%NAME%%, zmie\u0144 sw\u00f3j program do autowoot\u00f3w. Polecamy PlugCubed: http:\/\/plugcubed.net\/",
94-
"validgiftags": "\/me [@%%NAME%%] http:\/\/i.giphy.com\/%%ID%%.gif [Tagi: %%TAGS%%]",
95-
"invalidgiftags": "\/me [@%%NAME%%] B\u0142\u0119dne tagi, spr\u00f3buj innych. [Tagi: %%TAGS%%]",
96-
"validgifrandom": "\/me [@%%NAME%%] http:\/\/i.giphy.com\/%%ID%%.gif [Randomowy GIF]",
94+
"validgiftags": "\/me [@%%NAME%%] [Tagi: %%TAGS%%] http:\/\/i.giphy.com\/%%ID%%.gif",
95+
"invalidgiftags": "\/me [@%%NAME%%] [Tagi: %%TAGS%%] B\u0142\u0119dne tagi, spr\u00f3buj innych.",
96+
"validgifrandom": "\/me [@%%NAME%%] [Randomowy GIF] http:\/\/i.giphy.com\/%%ID%%.gif",
9797
"invalidgifrandom": "\/me [@%%NAME%%] B\u0142\u0119dne zapytanie, spr\u00f3buj ponownie.",
9898
"invalidtime": "\/me [@%%NAME%%] B\u0142\u0119dnie okre\u015blony czas.",
9999
"nouserspecified": "\/me [@%%NAME%%] Nie wybrano u\u017cytkownika.",
@@ -207,4 +207,4 @@
207207
"thorcd": "\/me @%%NAME%% mo\u017cesz spr\u00f3bowa\u0107 podnie\u015b\u0107 m\u0142ot za %%TIME%% minut.",
208208
"thorWorthy": "\/me @%%NAME%% jeste\u015b godzien m\u0142ota :hammer:, gratulacje!",
209209
"thorNotWorthy": "\/me @%%NAME%% nie jeste\u015b godzien m\u0142ota."
210-
}
210+
}

0 commit comments

Comments
 (0)