Skip to content

Commit 74a1b5a

Browse files
committed
feat: giveaway command
1 parent 18efbe0 commit 74a1b5a

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

src/utils/commandLoader.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ import * as anime from "../commands/anime.js";
2525
import * as ship from "../commands/ship.js";
2626
import * as webhook from "../commands/webhook.js";
2727
import * as family from "../commands/family.js";
28+
import * as giveaway from "../commands/giveaway.js";
2829

2930
export interface Command {
3031
data: any;
@@ -61,6 +62,7 @@ export function loadCommands(): Collection<string, Command> {
6162
ship,
6263
webhook,
6364
family,
65+
giveaway,
6466
];
6567

6668
for (const command of commandModules) {

src/utils/rolePermissions.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ export const COMMAND_PERMISSIONS: Record<string, PermissionLevel> = {
2424
clear: PermissionLevel.MODERATOR,
2525
archives: PermissionLevel.MODERATOR,
2626
slowmode: PermissionLevel.MODERATOR,
27+
giveaway: PermissionLevel.MODERATOR,
2728

2829
// Basic
2930
// everything else basically

0 commit comments

Comments
 (0)