aboange

Results 3 comments of aboange

async def gen(session, app_token, promo_id, user, codes_list): client_id = await generate_client_id() token = await login_client(session, app_token, client_id) await register_event(session, token, promo_id) for _ in range(code_count): code_data = await create_code(session, token,...

> ``` > from bot.utils.json_db import JsonDB > > def get_or_create_uuid(user_id): > > db = JsonDB("uuids") > uuids = db.get_data() > > if user_id in uuids: > return uuids[user_id] >...