A simple Discord Bot with basic functionalities like showing weather, displaying latest news, and more.
To use this bot, you need to have Python installed on your machine.
- Clone this repository:
git clone https://github.com/distracteddue/Discord-bot
- Install the required dependencies:
pip install -r requirements.txt
-
Obtain necessary API keys:
- OpenWeatherMap API key for weather functionality.
- News API key for news functionality.
-
Add your API keys and Discord bot token to the code.
-
Run the bot:
python bot.py
=time
: Shows the current time.=date
: Shows the current date and time.=weather {city}
: Shows the weather of the specified city.=help_me
: Shows available commands.
Contributions are welcome! Feel free to submit pull requests or open issues if you encounter any problems or have suggestions for improvements.