Skip to content

TheSolom/Weather-Discord-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Discord Weather Bot Project

Setting Up the Project

  1. Ensure you have Node.js installed.
  2. In the terminal, run: npm install
  3. Sign up for a free Discord account, if you don't already have one.
  4. Create a Discord application for your bot and find your application/client ID.
  5. Create a Discord server to test your bot and find your server/guild ID.
  6. Invite the bot to your Discord server.
  7. Sign up for a free Weather API account and find your API key.
  8. Create a .env file in the root folder and populate it as below.

Populating The Environment

In your .env file populate the following values:

DISCORD_TOKEN=
CLIENT_ID=
GUILD_ID=
WEATHER_API_KEY=

Running the Project

  • For production, run: npm start
  • For development, run: npm run dev

About

Discord bot for weather forecasting

Topics

Resources

Stars

Watchers

Forks