diff --git a/bot.py b/bot.py index 3328b99f..f27f1c82 100644 --- a/bot.py +++ b/bot.py @@ -621,6 +621,16 @@ while True: else: tosend += chr(128266) + " " tosend += u['name'] + "\n" + for ch in r['root']['channels']: + for u in ch['users']: + if not u['mute']: + if u['selfDeaf']: + tosend += chr(128263) + " " + elif u['selfMute']: + tosend += chr(128264) + " " + else: + tosend += chr(128266) + " " + tosend += u['name'] + " | " + ch['name'] + "\n" telegram.sendmessage(tosend, sentin, source) elif text.startswith('/diario'): # Aggiungi una riga al diario Royal Games