mirror of
https://github.com/RYGhub/royalnet.git
synced 2024-11-23 19:44:20 +00:00
not none
This commit is contained in:
parent
920f0a7fab
commit
58d3a904d6
1 changed files with 1 additions and 1 deletions
2
mifia.py
2
mifia.py
|
@ -350,7 +350,7 @@ while True:
|
|||
else:
|
||||
g.message(g.status())
|
||||
p = g.findid(t['from']['id'])
|
||||
if p.role == 1:
|
||||
if p is not None and p.role == 1:
|
||||
p.message(g.mifiastatus())
|
||||
elif t['text'].startswith("/fullstatus"):
|
||||
if t['from']['id'] == g.adminid:
|
||||
|
|
Loading…
Reference in a new issue