|
|
@ -93,6 +93,10 @@ public class Main extends ListenerAdapter |
|
|
|
String content = message.getContentRaw(); |
|
|
|
String content = message.getContentRaw(); |
|
|
|
Guild guild = event.getGuild(); |
|
|
|
Guild guild = event.getGuild(); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// Ignore message if it's not in a music channel
|
|
|
|
|
|
|
|
if (!event.getChannel().getName().contains("music")) |
|
|
|
|
|
|
|
return; |
|
|
|
|
|
|
|
|
|
|
|
// Ignore message if bot
|
|
|
|
// Ignore message if bot
|
|
|
|
if (author.isBot()) |
|
|
|
if (author.isBot()) |
|
|
|
return; |
|
|
|
return; |
|
|
|