This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import sys | |
import json | |
import psutil | |
from os import path | |
from platform import system | |
PLATFORM = system() | |
CHANNELS = [ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"match_id": "d3a0b65c-3e0a-4181-912a-05d013208f45", | |
"league_id": "nloce", | |
"demo_status": 0, | |
"demo_url": null, | |
"timestamp": "02/18/2021-20:34:40", | |
"status": 2, | |
"map": "de_mirage", | |
"connect": { | |
"ip": "139.99.209.229", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def steamid_convert(given_id): | |
steam64id = 76561197960265728 | |
if "STEAM_0" in given_id or "STEAM_1" in given_id: | |
id_split = given_id.split(":") | |
steam64id += int(id_split[2]) * 2 | |
if id_split[1] == "1": | |
steam64id += 1 | |
return_data = [given_id.replace("STEAM_0", "STEAM_1"), steam64id] | |
elif given_id.isdigit() and len(given_id) == 17: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"en": { | |
"menu-title": "Shopping list options.", | |
"option-1": "A) Add an item.", | |
"option-1-key": "a", | |
"option-2": "R) Remove an item by its element number.", | |
"option-2-key": "r", | |
"option-3": "T) Display the total number of items in the list.", | |
"option-3-key": "t", | |
"option-4": "L) List all the items.", |