set load command as global
This commit is contained in:
@@ -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,
|
||||
|
||||
@@ -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'),
|
||||
|
||||
Reference in New Issue
Block a user