gsd 2 years ago
parent
commit
4869eef24b
  1. 4
      user_ext/buyvip.py
  2. 4
      user_ext/freevip.py

4
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

4
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="У тебя уже есть права, бесплатная випка тебе не нужна!")

Loading…
Cancel
Save