Skip to content

Commit 82f1af8

Browse files
committed
fix the register command, as the value of ENV variable was being passed as undefined, due to recent change
1 parent e04b977 commit 82f1af8

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/constants/commands.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
import { config } from "dotenv";
2+
3+
config();
4+
15
export const HELLO = {
26
name: "hello",
37
description: "Replies with hello in the channel",
@@ -53,7 +57,7 @@ export const GRANT_AWS_ACCESS = {
5357
name: "dev",
5458
description: "Feature flag",
5559
type: 5,
56-
require: false,
60+
required: false,
5761
},
5862
],
5963
};

0 commit comments

Comments
 (0)