MCPcopy Create free account
hub / github.com/Botloader/botloader / getCurrentUser

Method getCurrentUser

frontend-common/src/api_client.ts:80–82  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

78 }
79
80 async getCurrentUser(): Promise<ApiResult<User>> {
81 return await this.get("/api/current_user");
82 }
83
84 async getCurrentUserGuilds(): Promise<ApiResult<CurrentGuildsResponse>> {
85 return await this.get("/api/guilds");

Callers 3

activateFunction · 0.95
getBotUserFunction · 0.80
validateAndUpdateSessionFunction · 0.80

Calls 1

getMethod · 0.95

Tested by

no test coverage detected