mirror of
https://github.com/TheLovinator1/discord-reminder-bot.git
synced 2025-08-19 07:34:37 +02:00
Fix response when no reminders
This commit is contained in:
2
main.py
2
main.py
@@ -79,7 +79,7 @@ async def reminders(ctx):
|
|||||||
value=f"{trigger_time.strftime('%Y-%m-%d %H:%M')} (in {the_final_countdown})",
|
value=f"{trigger_time.strftime('%Y-%m-%d %H:%M')} (in {the_final_countdown})",
|
||||||
inline=False,
|
inline=False,
|
||||||
)
|
)
|
||||||
if len(embed) == 0:
|
if len(embed) <= 76:
|
||||||
msg = f"{ctx.guild.name} has no reminders."
|
msg = f"{ctx.guild.name} has no reminders."
|
||||||
await ctx.send(msg)
|
await ctx.send(msg)
|
||||||
else:
|
else:
|
||||||
|
Reference in New Issue
Block a user