parent
a2aa1bb0db
commit
2dc016d632
|
@ -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 {
|
||||
|
|
|
@ -42,4 +42,4 @@ client.on(Events.InteractionCreate, async (interaction) => {
|
|||
}
|
||||
});
|
||||
|
||||
client.login(process.env.DISCORD_TOKEN);
|
||||
await client.login(process.env.DISCORD_TOKEN);
|
||||
|
|
Loading…
Reference in a new issue