fix link accaunt

This commit is contained in:
The Foxon 2023-07-15 04:17:04 +12:00
parent b92e799562
commit 6644b04ea3

View File

@ -29,7 +29,7 @@ export default {
try {
if (!!codeConfirmation && !!userG) {
if (userCode === codeConfirmation) {
if (userCode === codeConfirmation && !id) {
global.config.users.set(interaction.user.id, userG)
global.config.authCodes.set(interaction.user.id, "-")
await interaction.followUp(`Аккаунт успешно привязан`)