.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

@ -10,3 +10,7 @@ DISCORD_TOKEN = ""
DISCORD_CLIENT_ID = ""
# guild id for deploy
DISCORD_TARGRT_GUILD_ID = ""
# ETC
# server name
RUNNER_NAME = ""

1
.gitignore vendored
View file

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

View file

@ -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();
});