This commit is contained in:
Marius Begby committed 2023-08-12 18:06:21 +02:00
1 parent bd97ab5d65
commit 529bfdde9c
1 file changed
+2 -1
+2 -1
View File
@@ -16,6 +16,7 @@ module.exports = {
}
if (interaction.isAutocomplete()) {
logger.info(`[Shard ${interaction.guild.shardId}] Autocomplete created.`);
try {
await command.autocomplete({ interaction, client });
} catch (error) {
@@ -29,7 +30,7 @@ module.exports = {
return;
}
} else if (interaction.isChatInputCommand()) {
logger.info('[Shard ${interaction.guild.shardId}] Interaction created.');
logger.info(`[Shard ${interaction.guild.shardId}] Interaction created.`);
try {
if (await cannotSendMessageInChannel(interaction)) {
return;