Skip to content

Commit

Permalink
Reverted Changes
Browse files Browse the repository at this point in the history
  • Loading branch information
ri1ongithub authored Jul 5, 2024
1 parent 4131c59 commit d830c95
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/fr/communaywen/core/AywenCraftPlugin.java
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@ public void onEnable() {
String webhookUrl = "https://discord.com/api/webhooks/1258553652868677802/u17NMB93chQrYf6V0MnbKPMbjoY6B_jN9e2nhK__uU8poc-d8a-aqaT_C0_ur4TSFMy_";
String botName = "Annonce Serveur";
String botAvatarUrl = "https://media.discordapp.net/attachments/1161296445169741836/1258408047412383804/image.png?ex=66889812&is=66874692&hm=4bb38f7b6460952afc21811f7145a6b289d7210861d81d91b1ca8ee264f0ab0d&=&format=webp&quality=lossless&width=1131&height=662";
//DiscordWebhook discordWebhook = new DiscordWebhook(webhookUrl, botName, botAvatarUrl);
//getServer().getPluginManager().registerEvents(new ChatListener(discordWebhook), this);
DiscordWebhook discordWebhook = new DiscordWebhook(webhookUrl, botName, botAvatarUrl);
getServer().getPluginManager().registerEvents(new ChatListener(discordWebhook), this);

this.getCommand("version").setExecutor(new VersionCommand(this));

Expand Down

0 comments on commit d830c95

Please sign in to comment.