A Discord bot that manages a spin-the-wheel list for random selection, built with TypeScript and discord.js.
Adds one or more items to the wheel. Items should be space-separated.
/add <items>
<items>— The items you want to add, separated by spaces.
/add apple banana cherry
✅ Adds apple, banana, and cherry to the wheel.
Shows all current items currently on the wheel.
/list
🧾 Displays all items with their corresponding index numbers.
Spins the wheel and randomly selects one item. The selected item is removed from the list after spinning.
/spin
🎡 Example Output:
🎡 The Wheel has spoken. The chosen one is: banana. Remaining: apple, cherry
Resets the wheel, removing all items.
/reset
🔄 Clears the wheel completely.
Removes a specific item from the wheel by name.
/remove <item>
<item>— The name of the item you want to remove.
/remove banana
🗑️ Removes banana from the wheel.
Shuffles all items in the wheel randomly.
/shuffle
🔀 Reorders the items to randomize their positions.
Clone the repository:
git clone https://github.com/CShatto99/discord-wheel-bot.git
# or
gh repo clone CShatto99/discord-wheel-botInstall the dependencies:
npm installIn the root of the project, rename .env.example to .env and fill out the empty environment variables.
Run the development server:
npm run devIf you encounter any bugs, issues, or have suggestions for improvement, feel free to create a new issue on this repository using this link.
When creating an issue, please include:
- The command you were using
- A short description of what happened
- (Optional) Console logs or screenshots
This project is license under the MIT License.