Updated eslint

This commit is contained in:
2024-08-20 22:27:46 +02:00
parent 0b92214d2d
commit 79a879f60f
23 changed files with 266 additions and 227 deletions

View File

@@ -94,7 +94,7 @@ export default async function guildMember(interaction: ChatInputCommandInteracti
}
const guildName = guild.name
const guildTag = " [" + guild.tag + "]" ?? ""
const guildTag = guild.tag ? " [" + guild.tag + "]" : ""
const guildMembers = guild.members
const guildMember = guildMembers.find(member => member.uuid === uuid)

View File

@@ -49,6 +49,7 @@ export = {
try {
user = await interaction.client.users.fetch(userid)
// eslint-disable-next-line @typescript-eslint/no-unused-vars
} catch (error) {
await interaction.editReply({
embeds: [{