feat(bot): ✨ Update no reports remaining message in p.reports.

This commit is contained in:
Nyeki.py
2024-10-18 13:04:16 -03:00
parent e0851280df
commit c9805b0d03
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -189,7 +189,7 @@ class Mods(base.Cog):
total = await models.Report.filter(status=models.ReportStatus.ON_REVIEW).count() total = await models.Report.filter(status=models.ReportStatus.ON_REVIEW).count()
if report is None: if report is None:
await ctx.send("No reports left, treat yourself with this cookie 🍪 !!") await ctx.send("No reports left, have this cookie 🍪 !!")
return return
await ctx.send( await ctx.send(
+2 -2
View File
@@ -191,7 +191,7 @@ class ReportView(discord.ui.View):
if report is None: if report is None:
await interaction.response.edit_message( await interaction.response.edit_message(
content="No reports left, treat yourself with this cookie 🍪 !!", content="No reports left, have this cookie 🍪 !!",
embed=None, embed=None,
view=None, view=None,
) )
@@ -224,7 +224,7 @@ class ReportView(discord.ui.View):
if report is None: if report is None:
await interaction.response.edit_message( await interaction.response.edit_message(
content="No reports left, treat yourself with this cookie 🍪 !!", content="No reports left, have this cookie 🍪 !!",
embed=None, embed=None,
view=None, view=None,
) )