Updated eslint
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -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: [{
|
||||
|
||||
Reference in New Issue
Block a user