mirror of
https://github.com/RYGhub/royalnet.git
synced 2025-02-17 10:53:57 +00:00
fics di /cv
This commit is contained in:
parent
d9c255b939
commit
4d19628c00
1 changed files with 10 additions and 10 deletions
20
bot.py
20
bot.py
|
@ -318,16 +318,16 @@ def cv():
|
||||||
# Altrimenti
|
# Altrimenti
|
||||||
else:
|
else:
|
||||||
m['vemoji'] = ""
|
m['vemoji'] = ""
|
||||||
# Controlla il suo stato (online, in gioco, afk) e scegli l'emoji appropriata
|
# Controlla il suo stato (online, in gioco, afk) e scegli l'emoji appropriata
|
||||||
if member['status'] == "online":
|
if member['status'] == "online":
|
||||||
m['emoji'] = chr(128309)
|
m['emoji'] = chr(128309)
|
||||||
elif member['status'] == "idle":
|
elif member['status'] == "idle":
|
||||||
m['emoji'] = chr(9899)
|
m['emoji'] = chr(9899)
|
||||||
elif member['status'] == "dnd":
|
elif member['status'] == "dnd":
|
||||||
m['emoji'] = chr(128308)
|
m['emoji'] = chr(128308)
|
||||||
else:
|
else:
|
||||||
# Stato sconosciuto. Fallback nel caso in cui vengano aggiunti nuovi stati.
|
# Stato sconosciuto. Fallback nel caso in cui vengano aggiunti nuovi stati.
|
||||||
m['emoji'] = chr(2573)
|
m['emoji'] = chr(2573)
|
||||||
# Aggiungi il nome del gioco a destra del nome
|
# Aggiungi il nome del gioco a destra del nome
|
||||||
if 'game' in member:
|
if 'game' in member:
|
||||||
m['gamename'] = member['game']['name']
|
m['gamename'] = member['game']['name']
|
||||||
|
|
Loading…
Add table
Reference in a new issue