Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions src/interactions/commands/command-manager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ import { sendToIssuesContextMenuCommand } from './handlers/send-to-issues-contex
import { randomFeaturedSlashCommand } from './handlers/random-featured-slash';
import { docsSlashCommand } from './handlers/docs/docs-slash';
import { infoSlashCommand } from './handlers/info/info-slash';
import { backupRequestCommand } from './handlers/backup-request';

class CommandManager implements IInteractionManager {
private handlers: ICommandHandler[] = [];
Expand All @@ -42,6 +43,7 @@ class CommandManager implements IInteractionManager {
randomFeaturedSlashCommand,
docsSlashCommand,
infoSlashCommand,
backupRequestCommand,
];

for (const handler of commandsToRegister) {
Expand Down
2 changes: 1 addition & 1 deletion src/interactions/commands/handlers/backup-request.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const config = new SlashCommandBuilder()
.setDescription('Request a users backup')
.setDefaultMemberPermissions(0);

export const saySlashCommand: ICommandHandler = {
export const backupRequestCommand: ICommandHandler = {
type: CommandType.SlashCommand,
config,
async onTrigger(interaction) {
Expand Down
Loading