From a3b339d1cf7166b60f578038059404fd6f3ac31d Mon Sep 17 00:00:00 2001 From: Conatum Date: Sat, 2 Oct 2021 18:38:13 +0300 Subject: [PATCH] fix (tickets): Add missing `await` on reply. --- bot/modules/moderation/commands.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bot/modules/moderation/commands.py b/bot/modules/moderation/commands.py index af70e532..a6dc150f 100644 --- a/bot/modules/moderation/commands.py +++ b/bot/modules/moderation/commands.py @@ -120,9 +120,9 @@ async def cmd_tickets(ctx, flags): if not tickets: if filters: - return ctx.embed_reply("There are no tickets with these criteria!") + return await ctx.embed_reply("There are no tickets with these criteria!") else: - return ctx.embed_reply("There are no moderation tickets in this server!") + return await ctx.embed_reply("There are no moderation tickets in this server!") tickets = sorted(tickets, key=lambda ticket: ticket.data.guild_ticketid, reverse=True) ticket_map = {ticket.data.guild_ticketid: ticket for ticket in tickets}