WHOOPS
This commit is contained in:
parent
f5570dcd28
commit
0c4207e90c
1
index.js
1
index.js
|
@ -214,7 +214,6 @@ dcClient.on('ready', () => {
|
||||||
|
|
||||||
dcClient.on('interactionCreate', async interaction => {
|
dcClient.on('interactionCreate', async interaction => {
|
||||||
if (!interaction.isCommand()) return;
|
if (!interaction.isCommand()) return;
|
||||||
if (interaction.user.id != config.discord.devId) return; // Only allow the dev to use this bot (for now)
|
|
||||||
const {
|
const {
|
||||||
commandName
|
commandName
|
||||||
} = interaction;
|
} = interaction;
|
||||||
|
|
Loading…
Reference in a new issue