mirror of
https://github.com/Coloryr/AllMusic.git
synced 2026-11-17 04:05:09 +00:00
up
This commit is contained in:
1 parent
cb23143522
commit
8d4bccd711
85 files changed
+2944
-1540
No files matched your search
@@ -2,9 +2,13 @@ package coloryr.allmusic.core.command;
|
||||
|
||||
import coloryr.allmusic.core.AllMusic;
|
||||
|
||||
public class CommandCode implements ICommand {
|
||||
public class CommandCode extends ACommand {
|
||||
@Override
|
||||
public void ex(Object sender, String name, String[] args) {
|
||||
AllMusic.getMusicApi().sendCode(sender);
|
||||
if (args.length != 2) {
|
||||
AllMusic.side.sendMessage(sender, AllMusic.getMessage().command.error);
|
||||
return;
|
||||
}
|
||||
AllMusic.getMusicApi().sendCode(sender, args[1]);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user