移除测试代码
This commit is contained in:
parent
4cbcba6b6e
commit
b695e0ff08
@ -64,12 +64,10 @@ public class TurnipProphet extends Model {
|
||||
@Override
|
||||
public void onMessage(Long qq, MessageEvent event, boolean isGroup) {
|
||||
super.onMessage(qq, event, isGroup);
|
||||
System.out.println("测试大头菜");
|
||||
user = qq;
|
||||
sendQQ = qq;
|
||||
if (isGroup) {
|
||||
if (!event.getMessage().serializeToMiraiCode().contains("[mirai:at:2476945931]")) {
|
||||
System.out.println("没有@?");
|
||||
return;
|
||||
}
|
||||
user = event.getSource().getFromId();
|
||||
@ -90,7 +88,6 @@ public class TurnipProphet extends Model {
|
||||
}
|
||||
|
||||
private void showData() {
|
||||
System.out.println("发送数据");
|
||||
String redisKey = user + "_turnip";
|
||||
String data = RedisTools.get(redisKey);
|
||||
if (StringUtils.isEmpty(data)) {
|
||||
|
Loading…
Reference in New Issue
Block a user