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
- 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:
objectUser object. Follow and blocking
- async setBlock(should_block: bool = True) bool¶
Blocks a user and return whether they are blocking you