Commit aa26946b authored by Morgân von Brylân's avatar Morgân von Brylân

Corrigé l'affichage de l'icône des serveurs pour avoir un beau PNG et non un dégueu JPG.

parent acd856df
......@@ -1854,7 +1854,7 @@ function c_icôneServeur(msg)
{
var srv = msg.guild;
if(srv)
msg.channel.send(srv.iconURL + (srv.iconURL.includes('size=') ? "" : "?size=512")).catch(error);
msg.channel.send(srv.iconURL.replace(".jpg", ".png") + (srv.iconURL.includes('size=') ? "" : "?size=512")).catch(error);
else
msg.reply(`On n'est pas sur un serveur, ${insulte(msg.author)} !`).catch(error);
}
......
{
"name": "strun_bah_couille",
"version": "3.1872.1",
"version": "3.1872.2",
"description": "Strun Bah Couille le Crisse-Barbe",
"main": "bot.js",
"repository": {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment