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

Added a message for the bot to send when a rule is removed successfully

This commit is contained in:
Phxntxm 2016-07-30 14:16:58 -05:00
parent 183932ca1f
commit 67476c3e2f

View file

@ -199,6 +199,7 @@ class Mod:
del server_rules[rule-1]
rules[ctx.message.server.id] = server_rules
config.saveContent('rules',rules)
await self.bot.say("I have just removed that rule from your list of rules!")
except IndexError:
await self.bot.say("That is not a valid rule number, try running the command again. Your current rules are:\n```{}```".format(list_rules))