mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-09 01:04:16 +02:00
Fix
This commit is contained in:
+1
-1
@@ -155,7 +155,7 @@ module.exports = class CommandClient extends Client {
|
||||
async onInteractionCreate(interaction) {
|
||||
if (!interaction.isChatInputCommand()) return;
|
||||
|
||||
const command = this.slashRegistry.commands.get(interaction.commandName);
|
||||
const { command } = this.slashRegistry.commands.get(interaction.commandName);
|
||||
if (!command) return;
|
||||
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user