refactor/support multiple discord guilds with 1 nitrado server each + better handling for NitradoAPI

This commit is contained in:
SowinskiBraeden committed 2024-04-04 20:11:48 -07:00
1 parent 71d03ffa72
commit 55c8a9ee7f
33 files changed
+888 -1028

No files matched your search

+4 -2
View File
@@ -1,9 +1,11 @@
const { InteractionType } = require('discord.js');
const { GetGuild } = require('../database/guild');
module.exports = async (client, interaction) => {
if (interaction.isCommand()) return;
if (interaction.type == InteractionType.ApplicationCommand) return;
/*
This file handles all menu and button interactions
This file routes any menu, modal & button interactions
from any command
*/