mirror of
https://github.com/veganhacktivists/arabot.git
synced 2025-05-18 17:24:14 +02:00
fix(verification): isNaN eslint issue
This commit is contained in:
parent
801297c3a1
commit
6af8373f2b
@ -269,7 +269,7 @@ class VerificationJoinVCListener extends Listener {
|
||||
await button.deferUpdate();
|
||||
// Get the button choice
|
||||
const buttonChoice = this.getButtonValue(button.customId);
|
||||
if (isNaN(buttonChoice)) {
|
||||
if (Number.isNaN(buttonChoice)) {
|
||||
return;
|
||||
}
|
||||
// Set the value of the button choice to the page the question was on
|
||||
|
Loading…
x
Reference in New Issue
Block a user