forked from SteamWar/SteamWar
Fix ChannelListener
This commit is contained in:
@@ -70,6 +70,7 @@ public class ChannelListener extends ListenerAdapter {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void onSlashCommandInteraction(@NotNull SlashCommandInteractionEvent event) {
|
public void onSlashCommandInteraction(@NotNull SlashCommandInteractionEvent event) {
|
||||||
|
if (event.getGuild().getIdLong() == 1241489896909180998L) return;
|
||||||
InteractionReply.reply(event, sender -> {
|
InteractionReply.reply(event, sender -> {
|
||||||
if(sender.user().getDiscordId() == null)
|
if(sender.user().getDiscordId() == null)
|
||||||
return;
|
return;
|
||||||
|
|||||||
Reference in New Issue
Block a user