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
4 changes: 3 additions & 1 deletion scripts/register.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@ const ROLE_TEAM_CONFIG = process.env.ROLE_TEAM_CONFIG;

if (!BOT_TOKEN || !APPLICATION_ID || !GUILD_ID || !ROLE_TEAM_CONFIG) {
console.error("필요한 환경 변수가 설정되지 않았습니다.");
console.error("필요: DISCORD_BOT_TOKEN, DISCORD_APPLICATION_ID, DISCORD_GUILD_ID, ROLE_TEAM_CONFIG");
console.error(
"필요: DISCORD_BOT_TOKEN, DISCORD_APPLICATION_ID, DISCORD_GUILD_ID, ROLE_TEAM_CONFIG",
);
process.exit(1);
}

Expand Down
2 changes: 1 addition & 1 deletion wrangler.jsonc
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"compatibility_flags": ["nodejs_compat"],
"vars": {
"GITHUB_ORG": "DaleStudy",
"ROLE_TEAM_CONFIG": "[{\"value\":\"placeholder\",\"label\":\"Placeholder\",\"discordRoleId\":\"REPLACE_ME\",\"teamSlug\":\"REPLACE_ME\"}]",
"ROLE_TEAM_CONFIG": "[{\"value\":\"test\",\"label\":\"test\",\"discordRoleId\":\"1233209102495383572\",\"teamSlug\":\"test\"}]",
},
"kv_namespaces": [],
"durable_objects": {
Expand Down
Loading