aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bot/cogs/verification.py20
1 files changed, 3 insertions, 17 deletions
diff --git a/bot/cogs/verification.py b/bot/cogs/verification.py
index 0be8b7bcf..198fe861d 100644
--- a/bot/cogs/verification.py
+++ b/bot/cogs/verification.py
@@ -104,9 +104,8 @@ class Verification:
break
if has_role:
- return await ctx.send(
+ await ctx.send(
f"{ctx.author.mention} You're already subscribed!",
- delete_after=5
)
log.debug(f"{ctx.author} called self.subscribe(). Assigning the 'Announcements' role.")
@@ -114,14 +113,8 @@ class Verification:
log.trace(f"Deleting the message posted by {ctx.author}.")
- try:
- await ctx.message.delete()
- 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()"])
@@ -140,8 +133,7 @@ class Verification:
if not has_role:
return await ctx.send(
- f"{ctx.author.mention} You're already unsubscribed!",
- delete_after=5
+ f"{ctx.author.mention} You're already unsubscribed!"
)
log.debug(f"{ctx.author} called self.unsubscribe(). Removing the 'Announcements' role.")
@@ -149,14 +141,8 @@ class Verification:
log.trace(f"Deleting the message posted by {ctx.author}.")
- try:
- await ctx.message.delete()
- 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
+ f"{ctx.author.mention} Unsubscribed from <#{Channels.announcements}> notifications."
)