feature:1.点歌功能,2.签到功能
This commit is contained in:
@@ -158,7 +158,7 @@ class SignInSystem:
|
|||||||
if not len(command) or command[0] not in self.command:
|
if not len(command) or command[0] not in self.command:
|
||||||
return
|
return
|
||||||
|
|
||||||
if self.gbm.get_group_permission(message.roomid, Feature.TASK_GAME) == PermissionStatus.DISABLED:
|
if self.gbm.get_group_permission(message.roomid, Feature.SIGNIN) == PermissionStatus.DISABLED:
|
||||||
return
|
return
|
||||||
|
|
||||||
current_time = datetime.datetime.now(tz=pytz.timezone(self.timezone))
|
current_time = datetime.datetime.now(tz=pytz.timezone(self.timezone))
|
||||||
|
|||||||
@@ -100,4 +100,4 @@ class BotMusic:
|
|||||||
<appinfo><version>1</version><appname/></appinfo>
|
<appinfo><version>1</version><appname/></appinfo>
|
||||||
<commenturl/>"""
|
<commenturl/>"""
|
||||||
|
|
||||||
self.wcf.send_xml(message.sender, xml, 3)
|
self.wcf.forward_msg(message.sender, xml, 3)
|
||||||
|
|||||||
Reference in New Issue
Block a user