This commit is contained in:
Christopher Cookman 2023-02-07 09:56:34 -07:00
parent f5570dcd28
commit 0c4207e90c
Signed by: ChrisChrome
GPG key ID: A023A26E42C33A42

View file

@ -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;