mirror of
https://github.com/veganhacktivists/arabot.git
synced 2025-05-18 23:45:24 +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();
|
await button.deferUpdate();
|
||||||
// Get the button choice
|
// Get the button choice
|
||||||
const buttonChoice = this.getButtonValue(button.customId);
|
const buttonChoice = this.getButtonValue(button.customId);
|
||||||
if (isNaN(buttonChoice)) {
|
if (Number.isNaN(buttonChoice)) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
// Set the value of the button choice to the page the question was on
|
// Set the value of the button choice to the page the question was on
|
||||||
|
Loading…
x
Reference in New Issue
Block a user