Le bot est gentil pour une fois
This commit is contained in:
parent
c935afd059
commit
aa01f1d89c
1 changed files with 3 additions and 0 deletions
|
@ -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')
|
||||||
|
|
Loading…
Reference in a new issue