From 4869eef24bd75c60de8d7c984b0c92b2bb26de07 Mon Sep 17 00:00:00 2001 From: gsd Date: Wed, 8 Mar 2023 20:20:58 +0300 Subject: [PATCH] fix --- user_ext/buyvip.py | 4 ++-- user_ext/freevip.py | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/user_ext/buyvip.py b/user_ext/buyvip.py index 2526c00..c3d8d39 100644 --- a/user_ext/buyvip.py +++ b/user_ext/buyvip.py @@ -7,8 +7,8 @@ class Extension: interaction: discord.Interaction ): await interaction.response.defer(thinking=True) - steam64 = await self.core.GetSteam64OfDiscord(interaction.user) - player = await self.core.GetPlayer(steam64, steam64) + steam64 = await core.GetSteam64OfDiscord(interaction.user) + player = await core.GetPlayer(steam64, steam64) content = f""" Ознакомиться с випкой можно: (кратко) https://tf2.pblr-nyk.pro/#VIPSection diff --git a/user_ext/freevip.py b/user_ext/freevip.py index f44c6c5..22d1d85 100644 --- a/user_ext/freevip.py +++ b/user_ext/freevip.py @@ -9,8 +9,8 @@ class Extension: interaction: discord.Interaction ): await interaction.response.defer(thinking=True) - steam64 = await self.core.GetSteam64OfDiscord(interaction.user) - player = await self.core.GetPlayer(steam64, steam64) + steam64 = await core.GetSteam64OfDiscord(interaction.user) + player = await core.GetPlayer(steam64, steam64) if player.permition: return await interaction.followup.send(content="У тебя уже есть права, бесплатная випка тебе не нужна!")