2023-03-02 08:42:34 +08:00
|
|
|
package coloryr.allmusic.core.objs.message;
|
2021-09-04 17:22:48 +08:00
|
|
|
|
|
|
|
|
public class HelpAdminObj {
|
2023-01-06 17:03:07 +08:00
|
|
|
public String Reload;
|
|
|
|
|
public String Next;
|
|
|
|
|
public String Ban;
|
2023-10-22 10:14:55 +08:00
|
|
|
public String BanPlayer;
|
2023-01-06 17:03:07 +08:00
|
|
|
public String Url;
|
|
|
|
|
public String Delete;
|
|
|
|
|
public String AddList;
|
|
|
|
|
public String ClearList;
|
|
|
|
|
public String Login;
|
2023-08-03 10:15:57 +08:00
|
|
|
public String Code;
|
2021-09-04 17:42:24 +08:00
|
|
|
|
2022-02-01 21:33:06 +08:00
|
|
|
public boolean check() {
|
|
|
|
|
if (Reload == null)
|
|
|
|
|
return true;
|
|
|
|
|
if (Next == null)
|
|
|
|
|
return true;
|
|
|
|
|
if (Ban == null)
|
|
|
|
|
return true;
|
|
|
|
|
if (Url == null)
|
|
|
|
|
return true;
|
|
|
|
|
if (Delete == null)
|
|
|
|
|
return true;
|
|
|
|
|
if (AddList == null)
|
|
|
|
|
return true;
|
|
|
|
|
if (ClearList == null)
|
|
|
|
|
return true;
|
2023-08-03 10:15:57 +08:00
|
|
|
if (Code == null)
|
|
|
|
|
return true;
|
2023-10-22 10:14:55 +08:00
|
|
|
if (BanPlayer == null)
|
|
|
|
|
return true;
|
2023-01-08 20:55:21 +08:00
|
|
|
return Login == null;
|
2022-02-01 21:33:06 +08:00
|
|
|
}
|
2023-08-03 10:15:57 +08:00
|
|
|
|
2023-10-22 10:14:55 +08:00
|
|
|
public void init() {
|
2023-08-03 10:15:57 +08:00
|
|
|
Reload = "§d[AllMusic]§e使用/music reload 重读配置文件";
|
|
|
|
|
Next = "§d[AllMusic]§e使用/music next 强制切歌";
|
|
|
|
|
Ban = "§d[AllMusic]§e使用/music ban [ID] 禁止点这首歌";
|
2023-10-22 10:14:55 +08:00
|
|
|
BanPlayer = "§d[AllMusic]§e使用/music banplayer [ID] 禁止某位玩家点歌";
|
2023-08-03 10:15:57 +08:00
|
|
|
Url = "§d[AllMusic]§e使用/music url [url] 播放一首自定义歌曲";
|
|
|
|
|
Delete = "§d[AllMusic]§e使用/music delete [序号] 删除队列中的歌曲";
|
|
|
|
|
AddList = "§d[AllMusic]§e使用/music addlist [歌单ID] 添加歌单到空闲列表";
|
|
|
|
|
ClearList = "§d[AllMusic]§e使用/music clearlist 清空空闲歌单";
|
|
|
|
|
Login = "§d[AllMusic]§e使用/music login [验证码] 登录账户";
|
|
|
|
|
Code = "§d[AllMusic]§e使用/music code 获取短信验证码";
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public static HelpAdminObj make() {
|
|
|
|
|
HelpAdminObj obj = new HelpAdminObj();
|
|
|
|
|
obj.init();
|
|
|
|
|
|
|
|
|
|
return obj;
|
|
|
|
|
}
|
2021-09-04 17:22:48 +08:00
|
|
|
}
|