feat(bot): ✨ Update no reports remaining message in p.reports.
This commit is contained in:
@@ -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(
|
||||||
|
|||||||
@@ -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,
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user