- Create a Discord Bot, invite it to your server, and get the bot token: https://discordpy.readthedocs.io/en/stable/discord.html
- Get a free API key from: https://openweathermap.org/api
- Add them to your .env file
- Open your terminal and run
pip install discord python-dotenv
- Run the Python file, and bot should be online