diff --git a/src/command/commands/get_members.ts b/src/command/commands/get_members.ts index 09c34a3..1485f55 100755 --- a/src/command/commands/get_members.ts +++ b/src/command/commands/get_members.ts @@ -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 { diff --git a/src/main.ts b/src/main.ts index dbeee2e..451dada 100755 --- a/src/main.ts +++ b/src/main.ts @@ -42,4 +42,4 @@ client.on(Events.InteractionCreate, async (interaction) => { } }); -client.login(process.env.DISCORD_TOKEN); +await client.login(process.env.DISCORD_TOKEN);