Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Botloader/botloader
/ useSession
Function
useSession
frontend/src/modules/session/useSession.ts:4–6 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
2
import
{ Session, SessionContext } from
"./SessionContext"
;
3
4
export
function
useSession(): Session {
5
return
useContext(SessionContext);
6
}
Callers
15
GuildScriptsProvider
Function · 0.90
useCurrentGuildScripts
Function · 0.90
FullGuildProvider
Function · 0.90
GuildsProvider
Function · 0.90
RequireLoggedInSession
Function · 0.90
BotloaderWebsocketProvider
Function · 0.90
TopNav
Function · 0.90
MaybePluginProvider
Function · 0.90
ScriptSettings
Function · 0.90
ScriptDetails
Function · 0.90
AddPluginToServerButton
Function · 0.90
NewsPage
Function · 0.90
Calls
no outgoing calls
Tested by
no test coverage detected