Skip to content

A versatile Discord bot designed for engaging quiz experiences! Challenge your community with random quiz questions, manage user points, display leaderboards, and sprinkle inspiration with a collection of quotes. Easy to set up and customize for your server's unique style.

License

Notifications You must be signed in to change notification settings

wickstudio/discord-quiz-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Discord Quiz Bot

banner

Overview

This is a simple Discord bot written in JavaScript using the Discord.js library. The bot includes features like quizzes, points tracking, leaderboards, and random quotes.

Features

  • Quiz Command: Start a quiz and earn points for correct answers.
  • Points Command: Check your current points.
  • Leaderboard Command: View the top users with the highest points.
  • Clear Command: Clear the points leaderboard (restricted to specific users).
  • Quote Command: Get a random inspirational quote.

Installation

  1. Clone the repository:

    git clone https://github.com/wickstudio/discord-quiz-bot.git
  2. Install dependencies:

    npm install
  3. Configure the bot:

    • Create a config.json file based on the provided config.example.json.
    • Add your Discord bot token and any other configurations.
  4. Set up the database:

    • The bot uses SQLite, and the database is stored in database.sqlite.
    • Ensure you have SQLite installed on your machine.
    npm install sqlite3
  5. Run the bot:

    npm start

Usage

  • Run the bot and invite it to your Discord server.
  • Use the provided commands (!quiz, !points, !leaderboard, !clear, !quote) to interact with the bot.

Contributing

Contributions are welcome! If you find any issues or have suggestions for improvements, feel free to open an issue or create a pull request.

License

This project is licensed under the MIT License.

About

A versatile Discord bot designed for engaging quiz experiences! Challenge your community with random quiz questions, manage user points, display leaderboards, and sprinkle inspiration with a collection of quotes. Easy to set up and customize for your server's unique style.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published