diff options
author | IRONM00N <64110067+IRONM00N@users.noreply.github.com> | 2021-08-31 18:45:23 -0400 |
---|---|---|
committer | IRONM00N <64110067+IRONM00N@users.noreply.github.com> | 2021-08-31 18:45:23 -0400 |
commit | a47ef150fd38fff3666faccd6f976f660fdbf9f3 (patch) | |
tree | 3f73c3d03236b09bf824469791f4ef7d2016b0b7 /src/listeners | |
parent | 9aa46f79516c0c044742339c59d471b43060d84f (diff) | |
download | tanzanite-a47ef150fd38fff3666faccd6f976f660fdbf9f3.tar.gz tanzanite-a47ef150fd38fff3666faccd6f976f660fdbf9f3.tar.bz2 tanzanite-a47ef150fd38fff3666faccd6f976f660fdbf9f3.zip |
cleanup and deprecated old config commands
Diffstat (limited to 'src/listeners')
-rw-r--r-- | src/listeners/client/interactionCreate.ts | 16 |
1 files changed, 6 insertions, 10 deletions
diff --git a/src/listeners/client/interactionCreate.ts b/src/listeners/client/interactionCreate.ts index e755ad6..d07a084 100644 --- a/src/listeners/client/interactionCreate.ts +++ b/src/listeners/client/interactionCreate.ts @@ -12,17 +12,13 @@ export default class InteractionCreateListener extends BushListener { public override async exec(...[interaction]: BushClientEvents['interactionCreate']): Promise<unknown> { if (!interaction) return; + void client.console.verbose( + 'interactionVerbose', + `An interaction of type <<${interaction.type.toLowerCase().replaceAll('_', '')}>> was received from <<${ + interaction.user.tag + }>>.` + ); if (interaction.isCommand()) { - void client.console.info( - 'slashCommand', - `The <<${interaction.commandName}>> command was used by <<${interaction.user.tag}>> in <<${ - interaction.channel - ? interaction.channel.type == 'DM' - ? interaction.channel.recipient + 's DMs' - : interaction.channel.name - : 'unknown' - }>>.` - ); return; } else if (interaction.isButton()) { if (interaction.customId.startsWith('paginate_') || interaction.customId.startsWith('command_')) return; |