From 3233fecc5f4187f2dfb03e318570a3a84bbceb9d Mon Sep 17 00:00:00 2001 From: Gareth Coles Date: Tue, 3 Jul 2018 12:51:55 +0100 Subject: [Announcements] User feedback on subscribe/unsubscribe commands --- bot/cogs/verification.py | 10 ++++++++++ 1 file changed, 10 insertions(+) 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)) -- cgit v1.2.3