2
2
3
3
import commands .botowner .*;
4
4
import commands .moderation .*;
5
+ import commands .music .CommandJoin ;
5
6
import commands .tools .*;
6
7
import commands .usercommands .*;
7
8
import commands .usercommands .CommandHelp ;
8
9
import commands .botowner .CommandInfo ;
9
10
import commands .usercommands .CommandPremium ;
10
11
import listener .*;
12
+ import music .AudioCore ;
11
13
import net .dv8tion .jda .bot .sharding .DefaultShardManagerBuilder ;
12
14
import net .dv8tion .jda .bot .sharding .ShardManager ;
13
15
import net .dv8tion .jda .core .JDA ;
@@ -29,6 +31,7 @@ public class Main {
29
31
public static boolean dev = true ;
30
32
public static SessionController sessionController ;
31
33
public static ShardManager shardManager ;
34
+ public static AudioCore audioCore ;
32
35
33
36
public static void main (String [] args2 ) {
34
37
try {
@@ -84,7 +87,7 @@ public static void main(String[] args2) {
84
87
commandHandler .commands .put ("setxp" , new CommandSetXP ());
85
88
commandHandler .commands .put ("clyde" , new CommandClyde ());
86
89
commandHandler .commands .put ("ping" , new CommandPing ());
87
- commandHandler .commands .put ("leave " , new CommandLeave ());
90
+ commandHandler .commands .put ("guildleave " , new CommandLeave ());
88
91
commandHandler .commands .put ("stats" , new CommandStats ());
89
92
commandHandler .commands .put ("verification" , new CommandVerification ());
90
93
commandHandler .commands .put ("say" , new CommandSay ());
@@ -107,6 +110,9 @@ public static void main(String[] args2) {
107
110
commandHandler .commands .put ("shard" , new CommandShard ());
108
111
commandHandler .commands .put ("uptime" , new CommandUptime ());
109
112
commandHandler .commands .put ("role" , new CommandRole ());
113
+ /*MUSIC*/
114
+ commandHandler .commands .put ("join" , new CommandJoin ());
115
+ commandHandler .commands .put ("leave" , new commands .music .CommandLeave ());
110
116
args = args2 ;
111
117
logger .info ("loaded all commands" );
112
118
logger .info ("Starting the Bot..." );
0 commit comments