diff options
author | 2018-07-03 12:51:55 +0100 | |
---|---|---|
committer | 2018-07-03 12:51:55 +0100 | |
commit | 3233fecc5f4187f2dfb03e318570a3a84bbceb9d (patch) | |
tree | ee4f441edd466f9b1b89790a5e08511060ef8fa3 | |
parent | Announcements role system, and verification improvements (diff) |
[Announcements] User feedback on subscribe/unsubscribe commands
-rw-r--r-- | bot/cogs/verification.py | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/bot/cogs/verification.py b/bot/cogs/verification.py index a5ad657a3..d43e795f0 100644 --- a/bot/cogs/verification.py +++ b/bot/cogs/verification.py @@ -107,6 +107,11 @@ class Verification: except NotFound: log.trace("No message found, it must have been deleted by another bot.") + await ctx.send( + f"{ctx.author.mention} Subscribed to <#{Channels.announcements}> notifications.", + delete_after=5 + ) + @command(name="unsubscribe", aliases=["unsubscribe()"]) @with_role(Roles.announcements) @in_channel(Channels.bot) @@ -125,6 +130,11 @@ class Verification: except NotFound: log.trace("No message found, it must have been deleted by another bot.") + await ctx.send( + f"{ctx.author.mention} Unsubscribed from <#{Channels.announcements}> notifications.", + delete_after=5 + ) + def setup(bot): bot.add_cog(Verification(bot)) |