Files
brahmos/utils/transactions.py
T
2024-06-10 19:13:53 +05:30

18 lines
422 B
Python

import pnwkit
class Bank:
def __init__(self, kit: pnwkit.QueryKit):
self.kit = kit
async def balance(self, id: int):
"""
receiver_type:
()
"""
resources = await self.kit.query(
"alliances",
{"id": 10177, "first": 1},
"money, food, uranium, coal, iron, oil, bauxite, iron, lead, munitions, gasoline, aluminum, steel",
)