Updated eslint
This commit is contained in:
@@ -125,6 +125,7 @@ export = {
|
||||
timestamp: new Date().toISOString()
|
||||
}]
|
||||
})
|
||||
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
||||
} catch (err) {
|
||||
console.log(
|
||||
color("Error while trying to update waiting list.", "red")
|
||||
|
||||
@@ -48,6 +48,7 @@ export = {
|
||||
color: embedColor
|
||||
}]
|
||||
})
|
||||
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
||||
} catch (error) {
|
||||
await interaction.editReply("Please enable your DMs.")
|
||||
return
|
||||
|
||||
@@ -44,6 +44,7 @@ export = {
|
||||
color: embedColor
|
||||
}]
|
||||
})
|
||||
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
||||
} catch (error) {
|
||||
await interaction.reply({
|
||||
content: "Please enable your DMs.",
|
||||
|
||||
@@ -66,6 +66,7 @@ export = {
|
||||
color: embedColor
|
||||
}]
|
||||
})
|
||||
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
||||
} catch (error) {
|
||||
await interaction.editReply("Please enable your DMs.")
|
||||
return
|
||||
|
||||
@@ -41,6 +41,7 @@ export = {
|
||||
let applicant: GuildMember | null
|
||||
try {
|
||||
applicant = await guild.members.fetch(applicantId)
|
||||
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
||||
} catch (error) {
|
||||
applicant = null
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user