Add @everyone when starting an AddPoll
This commit is contained in:
parent
9ef4690aaa
commit
829db2f13d
@ -29,7 +29,7 @@ public class OnGuildMemberJoinEvent extends ListenerAdapter {
|
||||
TextChannel channel = Objects.requireNonNull(guild.getChannelById(TextChannel.class, Bot.config.pollChannelId));
|
||||
|
||||
channel.sendMessage(pollbuilder
|
||||
.buildMessage(String.format("Голосование за принятие %s на сервер", member.getAsMention())).build())
|
||||
.buildMessage(String.format("@everyone Голосование за принятие %s на сервер", member.getAsMention())).build())
|
||||
.queue(message -> {
|
||||
pollbuilder.channel(channel).message(message);
|
||||
BotPoll poll = pollbuilder.build();
|
||||
|
Loading…
x
Reference in New Issue
Block a user