mirror of
https://github.com/darksaid98/cadence-discord-bot.git
synced 2026-12-04 14:38:49 +00:00
fdasfdf
This commit is contained in:
1 parent
7527f8150c
commit
fcf8724e88
1 file changed
+2
-2
@@ -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;
|
||||||
|
|||||||
Reference in new issue
Block a user