feat(bot): Make reports from p.reports go from newest to oldest.
This commit is contained in:
@@ -181,7 +181,7 @@ class Mods(base.Cog):
|
|||||||
|
|
||||||
report = (
|
report = (
|
||||||
await models.Report.filter(status=models.ReportStatus.ON_REVIEW)
|
await models.Report.filter(status=models.ReportStatus.ON_REVIEW)
|
||||||
.order_by("id")
|
.order_by("-id")
|
||||||
.limit(1)
|
.limit(1)
|
||||||
.first()
|
.first()
|
||||||
.select_related("call")
|
.select_related("call")
|
||||||
|
|||||||
Reference in New Issue
Block a user