From 3ccc5935f13e04359e8935be8b988ac3bf678971 Mon Sep 17 00:00:00 2001 From: "Rhys (SunburntRock89)" Date: Sun, 21 May 2023 19:55:45 +0100 Subject: [PATCH] Fix deassign replying before deferred --- src/commands/support/deassign.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/commands/support/deassign.ts b/src/commands/support/deassign.ts index 8333207d..303ea157 100644 --- a/src/commands/support/deassign.ts +++ b/src/commands/support/deassign.ts @@ -4,7 +4,7 @@ import { parseNumber } from "../../internals/utils"; export default class Deassign extends Command { async run(): Promise { - this.interaction.deferReply(); + await this.interaction.deferReply(); const numberToDeassign = parseNumber(this.interaction.options.getString("number_or_channel", true));