diff --git a/src/commands/goob.ts b/src/commands/goob.ts index 159bdd6..a4d328e 100644 --- a/src/commands/goob.ts +++ b/src/commands/goob.ts @@ -2,7 +2,7 @@ import { type CommandInteraction, SlashCommandBuilder, EmbedBuilder, type Message, ButtonStyle, ButtonBuilder, ActionRowBuilder, ComponentType, type GuildMember } from 'discord.js' -import { checkMemberPermissions, deleteGoob, execute, getMemberPermissionsRaw } from '../db' +import { checkMemberPermissions, deleteGoob, execute } from '../db' module.exports = { global: true, diff --git a/src/commands/load.ts b/src/commands/load.ts index 0a162f3..91ea7ab 100644 --- a/src/commands/load.ts +++ b/src/commands/load.ts @@ -8,7 +8,7 @@ import { owner_id } from '../config.json' import db, { checkMemberPermissions, execute, insertGoob } from '../db' module.exports = { - global: false, + global: true, data: new SlashCommandBuilder() .setName('load') .setDescription('Loads all past goobers from this channel'),