mirror of
https://github.com/darksaid98/cadence-discord-bot.git
synced 2026-12-02 14:38:49 +00:00
WIP add support for filters other than ffmpeg
This commit is contained in:
1 parent
04dd7a7218
commit
af6bdd4da8
2 files changed
+50
-5
No files matched your search
@@ -6,7 +6,8 @@ import {
|
||||
Interaction,
|
||||
Message,
|
||||
MessageComponentInteraction,
|
||||
SlashCommandBuilder
|
||||
SlashCommandBuilder,
|
||||
SlashCommandSubcommandsOnlyBuilder
|
||||
} from 'discord.js';
|
||||
import { Logger } from 'pino';
|
||||
import loggerModule from '../services/logger';
|
||||
@@ -43,7 +44,7 @@ abstract class BaseInteraction {
|
||||
}
|
||||
|
||||
export abstract class BaseSlashCommandInteraction extends BaseInteraction {
|
||||
data: Omit<SlashCommandBuilder, 'addSubcommand' | 'addSubcommandGroup'>;
|
||||
data: Omit<SlashCommandBuilder, 'addSubcommand' | 'addSubcommandGroup'> | SlashCommandSubcommandsOnlyBuilder;
|
||||
isSystemCommand: boolean;
|
||||
isNew: boolean;
|
||||
isBeta: boolean;
|
||||
@@ -52,7 +53,7 @@ export abstract class BaseSlashCommandInteraction extends BaseInteraction {
|
||||
name: string;
|
||||
|
||||
constructor(
|
||||
data: Omit<SlashCommandBuilder, 'addSubcommand' | 'addSubcommandGroup'>,
|
||||
data: Omit<SlashCommandBuilder, 'addSubcommand' | 'addSubcommandGroup'> | SlashCommandSubcommandsOnlyBuilder,
|
||||
isSystemCommand: boolean = false,
|
||||
isNew: boolean = false,
|
||||
isBeta: boolean = false
|
||||
|
||||
Reference in new issue
Block a user