File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -78,6 +78,11 @@ export async function baseHandler(
78
78
return await mentionEachUser ( transformedArgument , env , ctx ) ;
79
79
}
80
80
81
+ /**
82
+ * HOT FIX to prevent non superusers from running the /remove commmand.
83
+ * More info :- https://discord.com/channels/673083527624916993/729399523268624405/1293604361758441605
84
+ * ---
85
+ */
81
86
// case getCommandName(REMOVE): {
82
87
// const data = message.data?.options as Array<messageRequestDataOptions>;
83
88
// const transformedArgument = {
Original file line number Diff line number Diff line change 8
8
NOTIFY_ONBOARDING ,
9
9
OOO ,
10
10
USER ,
11
- REMOVE ,
12
11
GROUP_INVITE ,
13
12
} from "./constants/commands" ;
14
13
import { config } from "dotenv" ;
@@ -39,7 +38,6 @@ async function registerGuildCommands(
39
38
USER ,
40
39
NOTIFY_OVERDUE ,
41
40
NOTIFY_ONBOARDING ,
42
- REMOVE ,
43
41
GROUP_INVITE ,
44
42
] ;
45
43
You can’t perform that action at this time.
0 commit comments