|
|
@ -71,7 +71,7 @@ class Client: |
|
|
|
splitted = t.comment.split() |
|
|
|
steam2 = None |
|
|
|
for maybe_steam in splitted: |
|
|
|
if "STEAM_" in maybe_steam.upper(): |
|
|
|
if "STEAM_" in maybe_steam.upper() and ":" in maybe_steam: |
|
|
|
steam2 = maybe_steam.upper() |
|
|
|
break |
|
|
|
if steam2 is None: |
|
|
@ -80,7 +80,7 @@ class Client: |
|
|
|
######################################## |
|
|
|
# add vip |
|
|
|
info(f"Add vip {steam2}, amount {seconds}") |
|
|
|
#await self.backend.vip(steam2, seconds, f"rub={int(money)}") |
|
|
|
await self.backend.vip(steam2, seconds, f"rub={int(money)}") |
|
|
|
|
|
|
|
if __name__ == "__main__": |
|
|
|
print("Build date: "+os.getenv("BUILDDATE", "not setted")) |
|
|
|