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
|
// slash-commands
|
||||||
client.on('interactionCreate', async interaction => {
|
client.on('interactionCreate', async interaction => {
|
||||||
if (interaction.isCommand()) {
|
if (interaction.isCommand()) {
|
||||||
// if (isDev) {
|
if (isDev) {
|
||||||
// console.log(interaction);
|
console.log(interaction);
|
||||||
// }
|
}
|
||||||
const { commandName } = interaction;
|
const { commandName } = interaction;
|
||||||
|
|
||||||
if (client.slashCommands.has(commandName)) {
|
if (client.slashCommands.has(commandName)) {
|
||||||
|
Loading…
Reference in New Issue
Block a user