diff --git a/.env.example b/.env.example index fc56a69..7b4234d 100644 --- a/.env.example +++ b/.env.example @@ -9,4 +9,8 @@ DISCORD_TOKEN = "" # discord application client id DISCORD_CLIENT_ID = "" # guild id for deploy -DISCORD_TARGRT_GUILD_ID = "" \ No newline at end of file +DISCORD_TARGRT_GUILD_ID = "" + +# ETC +# server name +RUNNER_NAME = "" diff --git a/.gitignore b/.gitignore index 876487d..9aab4a3 100644 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1,7 @@ # 인증정보 /firebase .env +*.env # 패키지 /node_modules diff --git a/src/main.ts b/src/main.ts index 59006f7..cc4561c 100755 --- a/src/main.ts +++ b/src/main.ts @@ -9,8 +9,8 @@ const client = new Client({ intents: [GatewayIntentBits.Guilds] }); const commandColection = getCommands(); export let onTime: Date; -client.once(Events.ClientReady, (c) => { - console.log(`Ready: discord client as ${c.user.tag}`); +client.once(Events.ClientReady, (event) => { + console.log(`[DISCORD] Ready: discord client as ${event.user.tag}`); onTime = new Date(); });