Welcome to the Edgerton Weather Bot! This Discord bot fetches real-time weather information for Edgerton, Kansas, and reports it to your Discord server.
- 🌡️ Real-Time Weather: Get the current temperature, humidity, wind speed, and weather description for Edgerton, Kansas.
- 💬 Simple Commands: Use the
!weather
command to receive the latest weather update. - 🔗 YouTube Channel: Includes a link to a YouTube channel with helpful content.
- Python 3.7+
- A Discord bot token
- An OpenWeatherMap API key
- Clone the repository:
git clone https://github.com/your-username/EdgertonWeatherBot.git cd EdgertonWeatherBot
- Create a virtual environment:
python -m venv venv source venv/bin/activate
- Install dependencies:
pip install -r requirements.txt
- Set up environment variables:
Create a .env file in the project directory and add your Discord bot token and OpenWeatherMap API key:DISCORD_BOT_TOKEN=your_discord_bot_token_here OPENWEATHERMAP_API_KEY=your_openweathermap_api_key_here
- Start the bot:
python main.py
- Use the !weather command in your Discord server to get the current weather for Edgerton, Kansas.