Skip to content

Commit

Permalink
- checnged discord webhook icon
Browse files Browse the repository at this point in the history
  • Loading branch information
ka0un committed Sep 28, 2023
1 parent e1ba754 commit 14852c7
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ public Notification(String username, NotificationType type, String description)
private void send(){
DiscordWebhook webhook = new DiscordWebhook(plugin.getMainManager().getConfigManager().getMainConfig().discord_webhook);
webhook.setUsername("OPProtector");
webhook.setAvatarUrl("https://raw.githubusercontent.com/ka0un/OPProtector/master/icon.png");
webhook.addEmbed(new DiscordWebhook.EmbedObject()
.setThumbnail(avatar_url)
.setFooter(new Timestamp(System.currentTimeMillis()).toString())
Expand Down

0 comments on commit 14852c7

Please sign in to comment.