set load command as global

This commit is contained in:
2023-06-17 00:10:34 +02:00
parent e06caf0d55
commit 5883d6d726
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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,
+1 -1
View File
@@ -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'),