begin update to newer JDA
This commit is contained in:
@@ -120,7 +120,7 @@ public class CommandManager {
|
||||
|
||||
public static void commandReply(MessageReceivedEvent event, String msg) {
|
||||
if(event != null) {
|
||||
MessageText.send(event.getTextChannel(), msg);
|
||||
MessageText.send(event.getChannel().asTextChannel(), msg);
|
||||
}else {
|
||||
Main.getLogger().info(msg);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user