fix link accaunt
This commit is contained in:
parent
b92e799562
commit
6644b04ea3
@ -29,7 +29,7 @@ export default {
|
|||||||
|
|
||||||
try {
|
try {
|
||||||
if (!!codeConfirmation && !!userG) {
|
if (!!codeConfirmation && !!userG) {
|
||||||
if (userCode === codeConfirmation) {
|
if (userCode === codeConfirmation && !id) {
|
||||||
global.config.users.set(interaction.user.id, userG)
|
global.config.users.set(interaction.user.id, userG)
|
||||||
global.config.authCodes.set(interaction.user.id, "-")
|
global.config.authCodes.set(interaction.user.id, "-")
|
||||||
await interaction.followUp(`Аккаунт успешно привязан`)
|
await interaction.followUp(`Аккаунт успешно привязан`)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user