Le bot est gentil pour une fois

This commit is contained in:
BFlow 2020-04-17 14:50:39 +02:00
parent c935afd059
commit aa01f1d89c

View file

@ -324,6 +324,9 @@ def main():
for channel in bot.get_all_channels(): for channel in bot.get_all_channels():
if channel.name == "général": if channel.name == "général":
current_chan = channel 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 !') await current_chan.send('Le troll est dans la place !')
ctx = await bot.get_context(current_chan.last_message) ctx = await bot.get_context(current_chan.last_message)
join = bot.get_command('join') join = bot.get_command('join')