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