The Coding Challenge Discord Bot is designed to offer users a unique and interactive way to practice coding by solving various coding challenges. The bot provides questions of varying difficulties (easy, medium, hard) and checks the answers submitted by users.
- Installation
- Usage
- Commands
- Features
- Dependencies
- Configuration
- Documentation
- Examples
- Troubleshooting
- Contributors
- License
To install and run the Coding Challenge Discord Bot on your server, follow these steps:
- Ensure you have Python installed on your system.
- Clone the repository to your local machine or download the bot script.
- Install the required Python packages by running
pip install -U discord.py. - Create a bot on the Discord Developer Portal and obtain a bot token.
- Replace the placeholder token in the script with your actual bot token.
!help: Displays help information about available commands.!newquestion [difficulty]: Retrieves a new coding challenge. You can specify a difficulty (easy,medium,hard) or leave it blank for a random difficulty.!check <answer>: Submits your answer for the last question you received. Ensure your answer matches the expected format.
- Offers coding challenges across three difficulty levels.
- Custom help command that provides users with detailed instructions on using the bot.
- Feedback on submitted answers indicating whether the answer is correct or incorrect.
- Python 3.6 or higher
- discord.py library
Currently, the bot's documentation consists of the in-built help command which provides users with information on how to use the bot.
- Getting a new question:
!newquestion medium - Checking an answer:
!check 42
- If the bot does not respond, ensure that it has been correctly added to your Discord server and that it is online.
- For command-specific issues, use the
!helpcommand to verify the syntax.
This project is licensed under the MIT License. See the LICENSE file for details.