Dev Logging
This commit is contained in:
parent
6c116acd8b
commit
71557b1942
6
main.js
6
main.js
@ -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)) {
|
||||
|
Loading…
Reference in New Issue
Block a user