1
0
Fork 0
mirror of https://github.com/myned/modufur.git synced 2024-11-01 21:02:38 +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,8 +1507,6 @@ class MsG:
pass pass
await message.edit(content=f'Confirm or deny changes') 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) self.aliases.update(aliases)