mirror of
https://github.com/JonnyBro/JaBa.git
synced 2024-11-24 22:24:58 +05:00
хотфикс
This commit is contained in:
parent
a192da057f
commit
236ef93ac1
1 changed files with 1 additions and 1 deletions
|
@ -55,7 +55,7 @@ class CommandHandler extends BaseEvent {
|
|||
});
|
||||
}
|
||||
|
||||
client.logger.log(`User ${interaction.user.tag} used ${command.command.name} in ${interaction.guild.name} with arguments: ${interaction.options.data.length > 0 ? interaction.options.data.map(arg => { return `${arg.name}: ${arg.value}`; }).join(", ") : "no args"}`, "cmd");
|
||||
client.logger.log(`User ${interaction.user.tag} used ${command.command.name} in ${interaction.guild ? interaction.guild.name : "DM"} with arguments: ${interaction.options.data.length > 0 ? interaction.options.data.map(arg => { return `${arg.name}: ${arg.value}`; }).join(", ") : "no args"}`, "cmd");
|
||||
|
||||
return command.execute(client, interaction, data);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue