MCPcopy Create free account
hub / github.com/EnokiUN/voltage / fetch_self

Method fetch_self

voltage/internals/http.py:204–208  ·  view source on GitHub ↗

Gets info about the bot.

(self)

Source from the content-addressed store, hash-verified

202 return await self.request("PATCH", "users/@me", json=data)
203
204 async def fetch_self(self) -> UserPayload:
205 """
206 Gets info about the bot.
207 """
208 return await self.request("GET", "users/@me")
209
210 async def fetch_user_profile(self, user_id: str) -> UserProfilePayload:
211 """

Callers 2

startMethod · 0.80
connectMethod · 0.80

Calls 1

requestMethod · 0.95

Tested by

no test coverage detected