Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Botloader/botloader
/ getBotUser
Function
getBotUser
components/runtime/src/ts/discord/dapi.ts:20–22 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
18
* @returns Botloader's discord user
19
*/
20
export
function
getBotUser(): User {
21
return
new
User(OpWrappers.getCurrentUser());
22
}
23
24
/**
25
* @returns The current guild's Id
Callers
nothing calls this directly
Calls
1
getCurrentUser
Method · 0.80
Tested by
no test coverage detected