generated from Baipyrus/DiscordJS-Template
bugfix: adjusted relative paths from major refactor
This commit is contained in:
parent
aed1d8472e
commit
7672748ac8
@ -4,7 +4,7 @@ import {
|
|||||||
SlashCommandBuilder,
|
SlashCommandBuilder,
|
||||||
ChatInputCommandInteraction
|
ChatInputCommandInteraction
|
||||||
} from 'discord.js';
|
} from 'discord.js';
|
||||||
import { Guilds, VoiceChannels } from '../../../database.js';
|
import { Guilds, VoiceChannels } from '../../database.js';
|
||||||
|
|
||||||
export const data = new SlashCommandBuilder()
|
export const data = new SlashCommandBuilder()
|
||||||
.setName('custom_vc')
|
.setName('custom_vc')
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
import { SlashCommandBuilder, PermissionFlagsBits, ChatInputCommandInteraction } from 'discord.js';
|
import { SlashCommandBuilder, PermissionFlagsBits, ChatInputCommandInteraction } from 'discord.js';
|
||||||
import { Roles, Guilds } from '../../../database.js';
|
import { Roles, Guilds } from '../../database.js';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @param {Guilds} guild
|
* @param {Guilds} guild
|
||||||
|
@ -9,7 +9,7 @@ import {
|
|||||||
ContextMenuCommandBuilder,
|
ContextMenuCommandBuilder,
|
||||||
ContextMenuCommandInteraction
|
ContextMenuCommandInteraction
|
||||||
} from 'discord.js';
|
} from 'discord.js';
|
||||||
import { addSelfRoles } from '../../../../shared.js';
|
import { addSelfRoles } from '../../../shared.js';
|
||||||
|
|
||||||
export const data = new ContextMenuCommandBuilder()
|
export const data = new ContextMenuCommandBuilder()
|
||||||
.setDMPermission(false)
|
.setDMPermission(false)
|
||||||
|
@ -4,7 +4,7 @@ import {
|
|||||||
PermissionFlagsBits,
|
PermissionFlagsBits,
|
||||||
ContextMenuCommandInteraction
|
ContextMenuCommandInteraction
|
||||||
} from 'discord.js';
|
} from 'discord.js';
|
||||||
import { Messages } from '../../../../database.js';
|
import { Messages } from '../../../database.js';
|
||||||
|
|
||||||
export const data = new ContextMenuCommandBuilder()
|
export const data = new ContextMenuCommandBuilder()
|
||||||
.setDMPermission(false)
|
.setDMPermission(false)
|
||||||
|
@ -4,7 +4,7 @@ import {
|
|||||||
PermissionFlagsBits,
|
PermissionFlagsBits,
|
||||||
ContextMenuCommandInteraction
|
ContextMenuCommandInteraction
|
||||||
} from 'discord.js';
|
} from 'discord.js';
|
||||||
import { removeSelfRoles } from '../../../../shared.js';
|
import { removeSelfRoles } from '../../../shared.js';
|
||||||
|
|
||||||
export const data = new ContextMenuCommandBuilder()
|
export const data = new ContextMenuCommandBuilder()
|
||||||
.setDMPermission(false)
|
.setDMPermission(false)
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
import { PermissionFlagsBits, SlashCommandBuilder, ChatInputCommandInteraction } from 'discord.js';
|
import { PermissionFlagsBits, SlashCommandBuilder, ChatInputCommandInteraction } from 'discord.js';
|
||||||
import { addSelfRoles, removeSelfRoles } from '../../../shared.js';
|
import { addSelfRoles, removeSelfRoles } from '../../shared.js';
|
||||||
import { Guilds, Messages } from '../../../database.js';
|
import { Guilds, Messages } from '../../database.js';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Sends a `Message` in the current channel and registers for self roles.
|
* Sends a `Message` in the current channel and registers for self roles.
|
||||||
|
Loading…
Reference in New Issue
Block a user