mirror of
https://github.com/myned/modufur.git
synced 2024-12-25 06:37:29 +00:00
Remove unnecessary while loop
This commit is contained in:
parent
5dcafa4b9b
commit
f06f743179
1 changed files with 1 additions and 3 deletions
|
@ -1507,9 +1507,7 @@ class MsG:
|
||||||
pass
|
pass
|
||||||
|
|
||||||
await message.edit(content=f'Confirm or deny changes')
|
await message.edit(content=f'Confirm or deny changes')
|
||||||
|
await self.bot.wait_for('reaction_add', check=on_reaction, timeout=8 * 60)
|
||||||
while not self.bot.is_closed:
|
|
||||||
await self.bot.wait_for('reaction_add', check=on_reaction, timeout=8 * 60)
|
|
||||||
|
|
||||||
self.aliases.update(aliases)
|
self.aliases.update(aliases)
|
||||||
u.dump(self.aliases, 'cogs/aliases.pkl')
|
u.dump(self.aliases, 'cogs/aliases.pkl')
|
||||||
|
|
Loading…
Reference in a new issue