Dev Logging

This commit is contained in:
Skylar Grant 2023-02-19 18:36:20 -05:00
parent 6c116acd8b
commit 71557b1942
1 changed files with 3 additions and 3 deletions

View File

@ -43,9 +43,9 @@ client.once('ready', async () => {
// slash-commands
client.on('interactionCreate', async interaction => {
if (interaction.isCommand()) {
// if (isDev) {
// console.log(interaction);
// }
if (isDev) {
console.log(interaction);
}
const { commandName } = interaction;
if (client.slashCommands.has(commandName)) {