generated from Nemesis/Exemple
correction plantage modo perte variable lmod : attention, raison de la perte non comprise
This commit is contained in:
parent
7262d190ba
commit
3b74dbbc14
1 changed files with 3 additions and 1 deletions
|
|
@ -740,6 +740,8 @@ async def modo(room,message): # Definition d'un moderateur
|
|||
lmod = modos.get(room.room_id)
|
||||
except:
|
||||
lmod = []
|
||||
if (lmod is None):
|
||||
lmod = []
|
||||
if (sender in admins or sender in lmod or sender == bot.client.user_id):
|
||||
args = texte.split()
|
||||
args.pop(0)
|
||||
|
|
|
|||
Loading…
Reference in a new issue