mirror of
https://github.com/myned/modufur.git
synced 2024-12-24 22:27:28 +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,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)
|
||||||
|
|
Loading…
Reference in a new issue