1
0
Fork 0
mirror of synced 2024-06-27 02:31:04 +12:00

Corrected error where an extra attempt to remove a rule was done

This commit is contained in:
phxntxm 2016-08-20 11:48:02 -05:00
parent 9f4a0400e5
commit c7be4bb7b2

View file

@ -274,6 +274,8 @@ class Mod:
del server_rules[int(msg.content) - 1]
rules[ctx.message.server.id] = server_rules
config.save_content('rules', rules)
await self.bot.say("I have just removed that rule from your list of rules!")
return
# This check is just to ensure a number was provided within the list's range
try: