Whoops
This commit is contained in:
parent
7e522a543f
commit
fd79169d7a
2
index.js
2
index.js
|
@ -166,7 +166,7 @@ client.on("interactionCreate", async (interaction) => {
|
|||
interaction.reply("You already have an unverified account. Please verify it before creating a new one.");
|
||||
} else {
|
||||
accountNumber = generateAccountNumber();
|
||||
verificationCode = generateTransactionNumber();
|
||||
verification_code = generateTransactionNumber();
|
||||
db.run("INSERT INTO accounts (id, discord_id, verification_code, phone) VALUES (?, ?, ?, ?)", accountNumber, interaction.user.id, verification_code, phone_number, (err) => {
|
||||
if (err) {
|
||||
console.error(err);
|
||||
|
|
Loading…
Reference in a new issue