Update __init__.py
This commit is contained in:
parent
8c931ad232
commit
4cb30f171e
1 changed files with 4 additions and 1 deletions
|
@ -163,7 +163,10 @@ today = on_command('maimai_today', alias=['今日舞萌', '今日mai'], desc='
|
|||
|
||||
@today.handle()
|
||||
async def _(msg: MessageSession):
|
||||
qq = int(msg.session.sender)
|
||||
if msg.target.senderFrom == "Discord|Client":
|
||||
qq = int(msg.session.sender.id)
|
||||
else:
|
||||
qq = int(msg.session.sender)
|
||||
h = hash(qq)
|
||||
rp = h % 100
|
||||
wm_value = []
|
||||
|
|
Reference in a new issue