aboutsummaryrefslogtreecommitdiff
path: root/src/bot.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/bot.ts')
-rw-r--r--src/bot.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bot.ts b/src/bot.ts
index 8550303..a18e344 100644
--- a/src/bot.ts
+++ b/src/bot.ts
@@ -69,8 +69,8 @@ export default class {
return;
}
- if (command.executeFromInteraction) {
- await command.executeFromInteraction(interaction);
+ if (command.execute) {
+ await command.execute(interaction);
}
} catch (error: unknown) {
debug(error);