update bot joining guild message
All checks were successful
Deploy to Dokku / docker (ubuntu-latest) (push) Successful in 1m3s

This commit is contained in:
Lee 2024-07-06 04:14:06 +01:00
parent 9d78432211
commit 98e9003129
2 changed files with 6 additions and 0 deletions

@ -73,6 +73,9 @@ public class SetBreakingSubCommand extends BatCommand {
breakable ? "now" : "no longer"
))
.build()).queue();
if (channel.getId().equals(textChannel.getId())) { // Don't send in the same channel
return;
}
counterChannel.getChannel().sendMessage("The counter will %s break on an invalid or wrong number".formatted(
breakable ? "now" : "no longer"
)).queue();

@ -131,6 +131,9 @@ public class GuildService extends ListenerAdapter implements EventListener {
To get started, use the </%s:%s> command to see all the commands I have to offer!
Most of my features are disabled by default, view my features with </%s %s:%s>
**NOTE: The bot was designed around having administrator permissions,
some features may not work as expected without it.**
""".formatted(
DiscordService.JDA.getSelfUser().getAsMention(),
helpCommand.getInfo().getName(),