mirror of
https://github.com/Coloryr/AllMusic.git
synced 2026-11-13 20:44:12 +00:00
53 lines
1.6 KiB
Java
53 lines
1.6 KiB
Java
package coloryr.allmusic.core.objs.message;
|
|
|
|
public class HelpAdminObj {
|
|
public String Reload;
|
|
public String Next;
|
|
public String Ban;
|
|
public String Url;
|
|
public String Delete;
|
|
public String AddList;
|
|
public String ClearList;
|
|
public String Login;
|
|
public String Code;
|
|
|
|
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;
|
|
if (Code == null)
|
|
return true;
|
|
return Login == null;
|
|
}
|
|
|
|
public void init(){
|
|
Reload = "§d[AllMusic]§e使用/music reload 重读配置文件";
|
|
Next = "§d[AllMusic]§e使用/music next 强制切歌";
|
|
Ban = "§d[AllMusic]§e使用/music ban [ID] 禁止点这首歌";
|
|
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;
|
|
}
|
|
}
|