.env for replit

왜 살아돌아온건진 모르겠지만 아무튼 살아돌아온 replit을 축하하며
This commit is contained in:
kdh8219 2023-04-27 23:27:41 +09:00
parent 83ce565636
commit 14f36ed237
3 changed files with 8 additions and 3 deletions

View file

@ -9,4 +9,8 @@ DISCORD_TOKEN = ""
# discord application client id # discord application client id
DISCORD_CLIENT_ID = "" DISCORD_CLIENT_ID = ""
# guild id for deploy # guild id for deploy
DISCORD_TARGRT_GUILD_ID = "" DISCORD_TARGRT_GUILD_ID = ""
# ETC
# server name
RUNNER_NAME = ""

1
.gitignore vendored
View file

@ -1,6 +1,7 @@
# 인증정보 # 인증정보
/firebase /firebase
.env .env
*.env
# 패키지 # 패키지
/node_modules /node_modules

View file

@ -9,8 +9,8 @@ const client = new Client({ intents: [GatewayIntentBits.Guilds] });
const commandColection = getCommands(); const commandColection = getCommands();
export let onTime: Date; export let onTime: Date;
client.once(Events.ClientReady, (c) => { client.once(Events.ClientReady, (event) => {
console.log(`Ready: discord client as ${c.user.tag}`); console.log(`[DISCORD] Ready: discord client as ${event.user.tag}`);
onTime = new Date(); onTime = new Date();
}); });