dev_该合并了 #8
@ -14,7 +14,7 @@ import static com.yutou.qqbot.models.Model.QQGroupCommands.QQ_TIMEOUT;
|
||||
public class PaoPaoSleepWaring extends Model {
|
||||
@Override
|
||||
public boolean isUserPublic() {
|
||||
return false;
|
||||
return true;
|
||||
}
|
||||
|
||||
@Override
|
||||
@ -30,7 +30,7 @@ public class PaoPaoSleepWaring extends Model {
|
||||
@Override
|
||||
public void onMessage(Long qq, MessageEvent event, boolean isGroup) {
|
||||
super.onMessage(qq, event, isGroup);
|
||||
if(Integer.parseInt(AppTools.getHours())>22 && event.getSource().getFromId() == 914520754){
|
||||
if(Integer.parseInt(AppTools.getHours())>=22 && event.getSource().getFromId() == 914520754){
|
||||
MessageChainBuilder builder=new MessageChainBuilder();
|
||||
builder.append(new QuoteReply(event.getMessage()));
|
||||
builder.append("别水了,该睡了~");
|
||||
|
Loading…
Reference in New Issue
Block a user