Added a message for the bot to send when a rule is removed successfully
This commit is contained in:
parent
183932ca1f
commit
67476c3e2f
1 changed files with 1 additions and 0 deletions
|
@ -199,6 +199,7 @@ class Mod:
|
||||||
del server_rules[rule-1]
|
del server_rules[rule-1]
|
||||||
rules[ctx.message.server.id] = server_rules
|
rules[ctx.message.server.id] = server_rules
|
||||||
config.saveContent('rules',rules)
|
config.saveContent('rules',rules)
|
||||||
|
await self.bot.say("I have just removed that rule from your list of rules!")
|
||||||
except IndexError:
|
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))
|
await self.bot.say("That is not a valid rule number, try running the command again. Your current rules are:\n```{}```".format(list_rules))
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue