-
Notifications
You must be signed in to change notification settings - Fork 0
Queue
Danny SMc edited this page Dec 29, 2021
·
2 revisions
The queue is provided and included in every context instance and can be accessed by context.queue
this queue is built for storing promises, with unique ID's for users, and allows you to catch incoming events directly from the bot's interactionCreate handler without having to write that code, we suggest using collectors in most instances, but of course if you want something different, this is an alternative option.
Will take a unique ID, and a user ID, and return the value in the queue for that user.
Will take a unique ID, and an item, and set the value in the queue 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