AsyncClient#
- class replit_bot.AsyncClient.Client(sid: str, ratelimit: int = 5)#
Bases:
AsyncIOEventEmitter
- async gql(query: str, vars: Dict[str, Any] = {}) Dict[str, Any] #
Always sends to server with client sid
- async graphql(sid: str, query: str, vars: Dict[str, Any] = {}) Dict[str, Any] #
Specify sid for post
- class replit_bot.AsyncClient.ReplManager(client, user=None)#
Bases:
object
- async delete(replResolvable)#
- async fetch(replResolvable=None, **kwargs)#
- class replit_bot.AsyncClient.User(client)#
Bases:
object
User object. Follow and blocking
- async setBlock(should_block: bool = True) bool #
Blocks a user and return whether they are blocking you