|
|
@ -456,6 +456,7 @@ class MWLMenu(menus.Menu):
|
|
|
|
|
|
|
|
|
|
|
|
else:
|
|
|
|
else:
|
|
|
|
# As long as the number entered is within the page numbers, go to that page
|
|
|
|
# As long as the number entered is within the page numbers, go to that page
|
|
|
|
|
|
|
|
try:
|
|
|
|
if 0 < int(msg.content) <= len(self.dicts):
|
|
|
|
if 0 < int(msg.content) <= len(self.dicts):
|
|
|
|
await message.delete()
|
|
|
|
await message.delete()
|
|
|
|
await msg.delete()
|
|
|
|
await msg.delete()
|
|
|
@ -472,6 +473,12 @@ class MWLMenu(menus.Menu):
|
|
|
|
# Delete the message and remove the reaction if out of bounds
|
|
|
|
# Delete the message and remove the reaction if out of bounds
|
|
|
|
else:
|
|
|
|
else:
|
|
|
|
await message.delete()
|
|
|
|
await message.delete()
|
|
|
|
|
|
|
|
await msg.delete()
|
|
|
|
|
|
|
|
await self.remove_reaction("\U0001f522")
|
|
|
|
|
|
|
|
except Exception as e:
|
|
|
|
|
|
|
|
print(e)
|
|
|
|
|
|
|
|
await message.delete()
|
|
|
|
|
|
|
|
await msg.delete()
|
|
|
|
await self.remove_reaction("\U0001f522")
|
|
|
|
await self.remove_reaction("\U0001f522")
|
|
|
|
|
|
|
|
|
|
|
|
@menus.button('\N{INFORMATION SOURCE}')
|
|
|
|
@menus.button('\N{INFORMATION SOURCE}')
|
|
|
|