generated from Baipyrus/DiscordJS-Template
Compare commits
No commits in common. "c8e3fc2f2c53add43edd46b2e02d69118412fc51" and "105932b5a3b8a0ec9be7641e88d90ae31f08629d" have entirely different histories.
c8e3fc2f2c
...
105932b5a3
@ -1,32 +0,0 @@
|
|||||||
import { SlashCommandBuilder } from 'discord.js';
|
|
||||||
|
|
||||||
export const data = new SlashCommandBuilder()
|
|
||||||
.setName('custom_vc')
|
|
||||||
.setDMPermission(false)
|
|
||||||
.setDescription('Manages reactions for self roles.')
|
|
||||||
.addSubcommand((subcommand) =>
|
|
||||||
subcommand
|
|
||||||
.setName('create')
|
|
||||||
.setDescription('Creates new voice channel.')
|
|
||||||
.addStringOption((option) =>
|
|
||||||
option
|
|
||||||
.setName('name')
|
|
||||||
.setRequired(true)
|
|
||||||
.setDescription('The name to use for the voice channel.')
|
|
||||||
)
|
|
||||||
)
|
|
||||||
.addSubcommand((subcommand) =>
|
|
||||||
subcommand
|
|
||||||
.setName('register')
|
|
||||||
.setDescription('Registers an existing voice channel.')
|
|
||||||
.addStringOption((option) =>
|
|
||||||
option
|
|
||||||
.setName('id')
|
|
||||||
.setRequired(true)
|
|
||||||
.setDescription('The ID to reference the voice channel to be used.')
|
|
||||||
)
|
|
||||||
);
|
|
||||||
export async function execute(interaction) {
|
|
||||||
const { options } = interaction;
|
|
||||||
// const id = options.getString('id');
|
|
||||||
}
|
|
@ -1,7 +1,6 @@
|
|||||||
import { config } from 'dotenv';
|
import { config } from 'dotenv';
|
||||||
import { Events } from 'discord.js';
|
import { Events } from 'discord.js';
|
||||||
import { Message, RoleEmojiPair } from '../../database.js';
|
import { Message, RoleEmojiPair } from '../../database.js';
|
||||||
|
|
||||||
config();
|
config();
|
||||||
|
|
||||||
export const name = Events.MessageReactionAdd;
|
export const name = Events.MessageReactionAdd;
|
||||||
|
@ -1,7 +1,6 @@
|
|||||||
import { config } from 'dotenv';
|
import { config } from 'dotenv';
|
||||||
import { Events } from 'discord.js';
|
import { Events } from 'discord.js';
|
||||||
import { Message, RoleEmojiPair } from '../../database.js';
|
import { Message, RoleEmojiPair } from '../../database.js';
|
||||||
|
|
||||||
config();
|
config();
|
||||||
|
|
||||||
export const name = Events.MessageReactionRemove;
|
export const name = Events.MessageReactionRemove;
|
||||||
|
Loading…
Reference in New Issue
Block a user