who put a timeout here

This commit is contained in:
janderedev 2022-03-16 21:58:25 +01:00
parent f8a001f4da
commit e26803a17c
No known key found for this signature in database
GPG key ID: 5D5E18ACB990F57A

View file

@ -1,5 +1,4 @@
import Command from "../../struct/Command"; import Command from "../../struct/Command";
import { Message } from "@janderedev/revolt.js/dist/maps/Messages";
import MessageCommandContext from "../../struct/MessageCommandContext"; import MessageCommandContext from "../../struct/MessageCommandContext";
export default { export default {
@ -8,6 +7,6 @@ export default {
description: 'Test command', description: 'Test command',
category: 'misc', category: 'misc',
run: (message: MessageCommandContext, args: string[]) => { run: (message: MessageCommandContext, args: string[]) => {
setTimeout(() => message.reply('Beep boop.'), 1000); message.reply('Beep boop.');
} }
} as Command; } as Command;