A simple discord bot to follow the time and weather of different cities.
First, make sure you have all the required tools installed on your local machine then continue with these steps.
Installation
# Clone the repository
git clone https://github.com/NathanFAIN/AroundDaWorld_TimeZone.git
# Enter into the directory
cd AroundDaWorld_TimeZone/
# Install the dependencies
npm install
Configuration
In index.js
you have to add your :
- Discord Bot Token
const token =''
- Weather API Key
const weatherApiKey = ''
- Channel ID (right click on the channel -> Copy ID)
const timezoneChannelId =''
Starting the application
npm run bot
Note: The default prefix is '?'
-
➕ Add time zone
?timezone add <city>
-
➖ Remove time zone
?timezone remove <city>