Update a small comment
This commit is contained in:
parent
c077b92f93
commit
3bd09d2867
@ -34,7 +34,7 @@ public class SlashCommandListener extends ListenerAdapter
|
|||||||
if(command == null) return;
|
if(command == null) return;
|
||||||
|
|
||||||
|
|
||||||
// finally run the command, in a new thread to avoid locking.
|
// finally run the command, in a new thread to avoid locking the main one.
|
||||||
new Thread(() -> command.runSlashCommand(event)).start();
|
new Thread(() -> command.runSlashCommand(event)).start();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user