Files
algo-dcbot/config.ts
ytshih f98b81d3b3
Some checks failed
Build image and deploy / release-image (push) Successful in 1m52s
Build image and deploy / deploy (push) Failing after 47s
Change: kubectl and service image
2024-10-18 16:24:02 +00:00

23 lines
615 B
TypeScript

import dotenv from 'dotenv';
dotenv.config();
export const config = {
// Token and client id can be found in Discord Developer Protol.
token: process.env.DC_TOKEN!,
clientId: process.env.DC_CLIENTID!,
// The user that the bot will DM when starts.
adminId: process.env.ADMIN_ID ?? '',
nickname: '橘ありす',
playing: 'アイドルマスター シンデレラガールズ U149',
logger: {
logFile: 'test.log',
},
// The default role id to apply when new member join.
// Can be obtained in Discord from right clicking the role.
defaultRole: process.env.DEFAULT_ROLE ?? '',
};