forked from Fascinated/Bat
update bot joining guild message
This commit is contained in:
parent
9d78432211
commit
98e9003129
@ -73,6 +73,9 @@ public class SetBreakingSubCommand extends BatCommand {
|
|||||||
breakable ? "now" : "no longer"
|
breakable ? "now" : "no longer"
|
||||||
))
|
))
|
||||||
.build()).queue();
|
.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(
|
counterChannel.getChannel().sendMessage("The counter will %s break on an invalid or wrong number".formatted(
|
||||||
breakable ? "now" : "no longer"
|
breakable ? "now" : "no longer"
|
||||||
)).queue();
|
)).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!
|
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>
|
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(
|
""".formatted(
|
||||||
DiscordService.JDA.getSelfUser().getAsMention(),
|
DiscordService.JDA.getSelfUser().getAsMention(),
|
||||||
helpCommand.getInfo().getName(),
|
helpCommand.getInfo().getName(),
|
||||||
|
Loading…
Reference in New Issue
Block a user