update
This commit is contained in:
parent
ff9ae9cc36
commit
2e4e072201
@ -6,6 +6,7 @@ import com.yutou.qqbot.models.Model;
|
||||
import com.yutou.qqbot.utlis.AppTools;
|
||||
import com.yutou.qqbot.utlis.RedisTools;
|
||||
import net.mamoe.mirai.event.events.MessageEvent;
|
||||
import net.mamoe.mirai.message.data.At;
|
||||
import net.mamoe.mirai.message.data.MessageChainBuilder;
|
||||
import net.mamoe.mirai.message.data.QuoteReply;
|
||||
|
||||
@ -40,7 +41,10 @@ public class PaoPaoSleepWaring extends Model {
|
||||
RedisTools.set("paopao_sleep_"+AppTools.getToDayTime(),"true",1*60*60);
|
||||
}
|
||||
if(event.getSource().getFromId() == 914520754 && msg.contains("#体力")){
|
||||
QQBotManager.getInstance().sendMessage(qq, "惠城! 体力! ");
|
||||
MessageChainBuilder builder=new MessageChainBuilder();
|
||||
builder.append(new At(369224573L));
|
||||
builder.append("惠城! 体力! ");
|
||||
QQBotManager.getInstance().sendMessage(qq,builder);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user