-
Notifications
You must be signed in to change notification settings - Fork 0
Sessions
Danny edited this page Jun 21, 2022
·
3 revisions
The session is a series of helpers for accessing a in-memory stored key, value data for users. The session is included in each context object created, and can be accessed with context.session
.
Will take a user ID, a key, and a value, and set the value in the session for that user.
Will take a user ID, and a key, and return the value in the session for that user.
Will take a user ID, and a key, and remove the value in the session for that user.
Will take a user ID, and remove all values in the session for that user.
Will take a user ID, and return all values in the session for that user.
Home | Turbo Engine | GitHub | NPM
- Configuration
- Creating Commands
- Adding Autocomplete
- Adding Context Menu
- Middleware Setup
- Built-In Helpers
- Promise Queue
- Command Sessions
- Setting Up OAuth
- Turbo Engine Github
- Need your own plugin? Contact Me
- Have an idea? Let's Discuss
- Want to support me? Buy me a coffee