set load command as global
This commit is contained in:
@@ -2,7 +2,7 @@ import {
|
|||||||
type CommandInteraction,
|
type CommandInteraction,
|
||||||
SlashCommandBuilder, EmbedBuilder, type Message, ButtonStyle, ButtonBuilder, ActionRowBuilder, ComponentType, type GuildMember
|
SlashCommandBuilder, EmbedBuilder, type Message, ButtonStyle, ButtonBuilder, ActionRowBuilder, ComponentType, type GuildMember
|
||||||
} from 'discord.js'
|
} from 'discord.js'
|
||||||
import { checkMemberPermissions, deleteGoob, execute, getMemberPermissionsRaw } from '../db'
|
import { checkMemberPermissions, deleteGoob, execute } from '../db'
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
global: true,
|
global: true,
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ import { owner_id } from '../config.json'
|
|||||||
import db, { checkMemberPermissions, execute, insertGoob } from '../db'
|
import db, { checkMemberPermissions, execute, insertGoob } from '../db'
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
global: false,
|
global: true,
|
||||||
data: new SlashCommandBuilder()
|
data: new SlashCommandBuilder()
|
||||||
.setName('load')
|
.setName('load')
|
||||||
.setDescription('Loads all past goobers from this channel'),
|
.setDescription('Loads all past goobers from this channel'),
|
||||||
|
|||||||
Reference in New Issue
Block a user