Skip to content

Commit 351564a

Browse files
committed
update legacy ready event to clientReady + prettier format
1 parent a5dede3 commit 351564a

File tree

2 files changed

+3
-3
lines changed
  • apps/test-bot/src

2 files changed

+3
-3
lines changed

apps/test-bot/src/app/commands/(general)/ping.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -67,9 +67,6 @@ export async function chatInput({
6767
interaction,
6868
client,
6969
}: ChatInputCommandContext) {
70-
Logger.debug('calling stopMiddlewares');
71-
stopMiddlewares();
72-
7370
if (!interaction.channel) return;
7471

7572
const button = new ButtonKit()
@@ -103,4 +100,7 @@ export async function chatInput({
103100
button.setDisabled(true);
104101
message.edit({ components: [row] });
105102
});
103+
104+
Logger.debug('calling stopMiddlewares');
105+
stopMiddlewares();
106106
}
File renamed without changes.

0 commit comments

Comments
 (0)