1
0
Fork 0
mirror of https://github.com/myned/modufur.git synced 2024-12-24 14:27:27 +00:00

Remove unnecessary while loop

This commit is contained in:
Dylan Dizon 2018-11-08 22:31:45 -05:00
parent 5dcafa4b9b
commit f06f743179

View file

@ -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')