Files
AllMusic/core/objs/message/CommandObj.java
T
Color_yr 25fa8506b0 3.4.0
添加空闲歌单不订阅
转移列表到数据库
语言文件不覆盖
语言为空不发送
#Fixed #42
2025-03-24 18:20:45 +08:00

27 lines
629 B
Java

package com.coloryr.allmusic.server.core.objs.message;
public class CommandObj {
public String error;
public String noPer;
public static CommandObj make() {
CommandObj obj = new CommandObj();
obj.init();
return obj;
}
public boolean check() {
if (error == null)
return true;
return noPer == null;
}
public void init() {
if (error == null)
error = "§d[AllMusic3]§c参数错误,请输入/music help获取帮助";
if (noPer == null)
noPer = "§d[AllMusic3]§c你没有权限执行这个操作";
}
}