parent
a2aa1bb0db
commit
2dc016d632
|
@ -41,7 +41,7 @@ export default {
|
||||||
(await interaction.guild.members.fetch(member[0])).nickname ||
|
(await interaction.guild.members.fetch(member[0])).nickname ||
|
||||||
(await interaction.client.users.fetch(member[0])).username;
|
(await interaction.client.users.fetch(member[0])).username;
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
nickname = ``;
|
nickname = ` `;
|
||||||
}
|
}
|
||||||
let tag: string;
|
let tag: string;
|
||||||
try {
|
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