Add Discord Event Teilnahme #241
@ -62,12 +62,7 @@ public class DiscordEventListener extends BasicDiscordListener {
|
||||
return;
|
||||
}
|
||||
|
||||
Event swEvent = Event.get(
|
||||
Integer.decode(
|
||||
event.getSelectedOptions()
|
||||
.get(0)
|
||||
.getValue()
|
||||
).intValue());
|
||||
Event swEvent = Event.get(Integer.decode(event.getSelectedOptions().get(0).getValue()));
|
||||
if(swEvent == null){
|
||||
event.reply("Das Event gibt es nicht").setEphemeral(true).queue();
|
||||
return;
|
||||
|
In neuem Issue referenzieren
Einen Benutzer sperren