A handy Discord bot that lets users check local weather, send text messages and emails, generate lorem ipsum, dad jokes, and stream music remotely.
- Node.js
- Discord.js library
- Public APIs (IP Geolocation, OpenWeather, etc.)
Here are some examples of what the bot can do:
- Command:
/weather [location]
- Description: Fetches and displays the current weather information for the specified location. If no location is provided, the bot will display the weather information for the current location.
- Example Command:
/weather Salt Lake City
- Answer:
In Salt Lake City, US, it's currently 75.45°F with smoke. It feels like 74.1°F. Humidity is at 30%.
- Command:
/text <phone_number>
- Description: Sends a text message to the specified T-mobile phone number.
- Example:
/text +1234567890
- Command:
/email <email_address>
- Description: Sends an email to the specified email address.
- Example:
/email [email protected]
discord-bot/
├── commands/
│ ├── dadjoke.js
│ ├── die.js
│ ├── email.js
│ ├── help.js
│ ├── lorem.js
│ ├── music.js
│ ├── text.js
│ └── weather.js
├── client.js
├── deploy-commands.js
├── index.js
└── README.md