generated from Nemesis/Exemple
veriPM
This commit is contained in:
parent
15a4fd50f1
commit
ad3d0686bf
1 changed files with 1 additions and 0 deletions
|
|
@ -933,6 +933,7 @@ async def verifPMRoom(room, message): # Pour obtenir ou créer un salon pour les
|
||||||
members = []
|
members = []
|
||||||
try:
|
try:
|
||||||
members = await bot.client.get_room_members(room_id)
|
members = await bot.client.get_room_members(room_id)
|
||||||
|
print(members)
|
||||||
except:
|
except:
|
||||||
print("Pas d'accès au salon, on le refait")
|
print("Pas d'accès au salon, on le refait")
|
||||||
if (room_id and members is not None and len(members) > 0):
|
if (room_id and members is not None and len(members) > 0):
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue