+ main login await
This commit is contained in:
kdh8219 2023-05-03 00:24:29 +09:00
parent a2aa1bb0db
commit 2dc016d632
No known key found for this signature in database
GPG key ID: 2B5B609E12BB4C19
2 changed files with 2 additions and 2 deletions

View file

@ -41,7 +41,7 @@ export default {
(await interaction.guild.members.fetch(member[0])).nickname ||
(await interaction.client.users.fetch(member[0])).username;
} catch (e) {
nickname = ``;
nickname = ` `;
}
let tag: string;
try {

View file

@ -42,4 +42,4 @@ client.on(Events.InteractionCreate, async (interaction) => {
}
});
client.login(process.env.DISCORD_TOKEN);
await client.login(process.env.DISCORD_TOKEN);