18 lines
422 B
Python
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",
|
|
)
|