From aa01f1d89c1e5ac814c5e92dd47bfce7f3820051 Mon Sep 17 00:00:00 2001 From: BFlow Date: Fri, 17 Apr 2020 14:50:39 +0200 Subject: [PATCH] Le bot est gentil pour une fois --- kabot/kabot/kabot.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/kabot/kabot/kabot.py b/kabot/kabot/kabot.py index add2975..f27a617 100644 --- a/kabot/kabot/kabot.py +++ b/kabot/kabot/kabot.py @@ -324,6 +324,9 @@ def main(): for channel in bot.get_all_channels(): if channel.name == "général": current_chan = channel + elif channel.name == "Général": + for member in channel.members: + member.edit(False) await current_chan.send('Le troll est dans la place !') ctx = await bot.get_context(current_chan.last_message) join = bot.get_command('join')