QoL
This commit is contained in:
1 parent
f96b3251cd
commit
5a5cfa4ca0
1 file changed
+1
-1
@@ -33,7 +33,7 @@ public class PlayCmd extends Command {
|
|||||||
protected void execute(String args, GuildMessageReceivedEvent event, PermLevel caller, ClumpedMusicPlayer player) {
|
protected void execute(String args, GuildMessageReceivedEvent event, PermLevel caller, ClumpedMusicPlayer player) {
|
||||||
if(args.startsWith("<") && args.endsWith(">"))
|
if(args.startsWith("<") && args.endsWith(">"))
|
||||||
args = args.substring(1,args.length()-1);
|
args = args.substring(1,args.length()-1);
|
||||||
args = args.split("\\s+")[0];
|
//args = args.split("\\s+")[0];
|
||||||
if(args.contains("&list="))
|
if(args.contains("&list="))
|
||||||
args = args.split("&list=")[0];
|
args = args.split("&list=")[0];
|
||||||
if(args.equals(""))
|
if(args.equals(""))
|
||||||
|
|||||||
Reference in new issue
Block a user