From d96de79e8d0d2e95f267e451e9228952c1a22936 Mon Sep 17 00:00:00 2001 From: Conrad Richter Date: Tue, 4 Aug 2026 09:10:28 +0200 Subject: [PATCH] Fix checkstyle errors and add config example --- config.properties.example | 11 +++++++++++ .../footinfobot/modules/notifications/SendPanel.java | 3 ++- 2 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 config.properties.example diff --git a/config.properties.example b/config.properties.example new file mode 100644 index 0000000..8a0b933 --- /dev/null +++ b/config.properties.example @@ -0,0 +1,11 @@ +token=DISCORD_TOKEN // Your bot token from the Discord Developer Portal + +guild=Guild ID of the main guild this bot is used on +mainLog=Channel ID of the main log channel + +welcomeChannel=Channel ID where the welcome messages will be sent +verifiedRole=Role ID of the verified role +memberRole=Role ID of the member role +streamRole=Role ID of the streamer role +gamedayChannel=Channel ID of the channel where gameday messages will be sent +newsChannel=Channel ID of the channel where team news messages will be sent \ No newline at end of file diff --git a/src/main/java/de/construkter/footinfobot/modules/notifications/SendPanel.java b/src/main/java/de/construkter/footinfobot/modules/notifications/SendPanel.java index e7319d0..2493651 100644 --- a/src/main/java/de/construkter/footinfobot/modules/notifications/SendPanel.java +++ b/src/main/java/de/construkter/footinfobot/modules/notifications/SendPanel.java @@ -45,7 +45,8 @@ public void onSlashCommandInteraction(final SlashCommandInteractionEvent event) EmbedBuilder embed = new EmbedBuilder() .setTitle("\uD83D\uDCE2 Stream Benachrichtigungen ändern") .setColor(Color.YELLOW) - .setDescription("Nutze den Button unten um zu ändern ob du Benachrichtigt wirst wenn etwas wichtiges passiert.") + .setDescription("Nutze den Button unten um zu ändern ob du Benachrichtigt werden möchstest, " + + " wenn etwas wichtiges passiert.") .setFooter("FootInfoBot", event.getGuild().getIconUrl()); Button change = Button.primary("notifications", "\uD83D\uDCE2 Ändern");