Make urban command support slash too

This commit is contained in:
2022-12-20 02:17:27 +01:00
parent 60ee5f2ae2
commit b4c80fe56a
6 changed files with 464 additions and 256 deletions

View File

@@ -28,8 +28,6 @@ public class MagicBallCommand extends SlashCommandImpl
@Override
public void runSlashCommand(@NotNull SlashCommandInteractionEvent event)
{
MessageChannel channel = event.getChannel();
// get the asked question
OptionMapping textOption = event.getOption("question");
String question = "";