Skip to content

odziem/discord-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Discord Weather Bot Project

The completed version of our Discord Weather Bot project for Complete Node.js Developer: Zero to Mastery.

We recommend that you code along with us and use this only if you ever get stuck or you don't like to code along.

Seting 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

Node.js Discord Weather Assistant Project

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published