mirror of
https://github.com/myned/modufur.git
synced 2024-12-23 22:27:27 +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
|
||||
|
||||
await message.edit(content=f'Confirm or deny changes')
|
||||
|
||||
while not self.bot.is_closed:
|
||||
await self.bot.wait_for('reaction_add', check=on_reaction, timeout=8 * 60)
|
||||
await self.bot.wait_for('reaction_add', check=on_reaction, timeout=8 * 60)
|
||||
|
||||
self.aliases.update(aliases)
|
||||
u.dump(self.aliases, 'cogs/aliases.pkl')
|
||||
|
|
Loading…
Reference in a new issue