debug/readLogs

This commit is contained in:
SowinskiBraeden committed 2023-10-29 12:56:00 -07:00
1 parent d3f3800e99
commit 7365b46d1f
7 files changed
+49 -30

No files matched your search

+3 -1
View File
@@ -1,3 +1,5 @@
const { GetGuild } = require('../database/guild');
module.exports = async (client, interaction) => {
if (interaction.isCommand()) return;
/*
@@ -5,7 +7,7 @@ module.exports = async (client, interaction) => {
from any command
*/
let GuildDB = await client.GetGuild(interaction.guildId);
let GuildDB = await GetGuild(client, interaction.guildId);
const interactionName = interaction.customId.split("-")[0];
let interactionHandler = client.interactionHandlers.get(interactionName);