From f9bb2910d6edaba408bd28fce6d269371f114994 Mon Sep 17 00:00:00 2001 From: Rafael Bradley Date: Wed, 2 Apr 2025 00:13:37 -0300 Subject: [PATCH] feat(shard): :sparkles: Add better notices to users who try to skip or hang up calls they haven't participated in. --- payphone/cogs/calls/cog.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/payphone/cogs/calls/cog.py b/payphone/cogs/calls/cog.py index 9752ed1..de345fc 100644 --- a/payphone/cogs/calls/cog.py +++ b/payphone/cogs/calls/cog.py @@ -79,7 +79,8 @@ class Calls(base.Cog): if participant is None: return await ctx.send( - "❌ You cannot skip a call you have not participated in." + "❌ You cannot skip a call you have not participated in.\n" + "-# You didn't send any messages in this call, so you can't skip it." ) channels = await self.bot.call_handler.skip(ctx.channel.id) @@ -119,7 +120,8 @@ class Calls(base.Cog): if participant is None: return await ctx.send( - "❌ You cannot hang up a call you have not participated in." + "❌ You cannot hang up a call you have not participated in.\n" + "-# You didn't send any messages in this call, so you can't hang up. Try saying hi!" ) channels = await self.bot.call_handler.hangup(ctx.channel.id)