fix (tickets): Add missing await on reply.

This commit is contained in:
2021-10-02 18:38:13 +03:00
parent e647c67858
commit a3b339d1cf

View File

@@ -120,9 +120,9 @@ async def cmd_tickets(ctx, flags):
if not tickets: if not tickets:
if filters: 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: 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) tickets = sorted(tickets, key=lambda ticket: ticket.data.guild_ticketid, reverse=True)
ticket_map = {ticket.data.guild_ticketid: ticket for ticket in tickets} ticket_map = {ticket.data.guild_ticketid: ticket for ticket in tickets}