mirror of
https://github.com/RYGhub/royalnet.git
synced 2024-11-27 13:34:28 +00:00
yes
This commit is contained in:
parent
487c47fbc3
commit
55ebcbfdc7
1 changed files with 4 additions and 6 deletions
8
bot.py
8
bot.py
|
@ -342,13 +342,11 @@ while True:
|
||||||
break
|
break
|
||||||
else:
|
else:
|
||||||
if member['status'] == "online":
|
if member['status'] == "online":
|
||||||
|
m['emoji'] = chr(128308)
|
||||||
|
elif member['status'] == "idle":
|
||||||
|
m['emoji'] = chr(9899)
|
||||||
if 'game' in member:
|
if 'game' in member:
|
||||||
m['gamename'] = member['game']['name']
|
m['gamename'] = member['game']['name']
|
||||||
m['emoji'] = chr(128308)
|
|
||||||
else:
|
|
||||||
m['emoji'] = chr(128309)
|
|
||||||
else:
|
|
||||||
m['emoji'] = chr(9899)
|
|
||||||
m['name'] = member['username']
|
m['name'] = member['username']
|
||||||
if 'gamename' in m and 'channelname' in m:
|
if 'gamename' in m and 'channelname' in m:
|
||||||
tosend += "{emoji} *{channelname}* {name} | _{gamename}_\n".format(**m)
|
tosend += "{emoji} *{channelname}* {name} | _{gamename}_\n".format(**m)
|
||||||
|
|
Loading…
Reference in a new issue