A NodeJS, DiscordJS, and Twitter API Project
This project is an opportunity to familiarize myself with NodeJS, in addition to automating various tasks within a Discord server, and learning how to move around the Twitter API using the Twit JS library.
Clone the repository, and install the node modules.
git clone https://github.com/tfisher21/personal-discord-bot.git
npm install
You'll be required to provide your own Discord and Twitter API keys/tokens. the NPM package, dotenv is used to securely store your API keys.
This bot's primary function is to allow a user to assign a Twitter account to follow and stream new tweets from the account to display in an assigned channel.
Here you should write what are all of the configurations a user can enter when using the project.
Type: !set twitter username
Default: No default value is set
This will search for and assign the Twitter ID of the username you requested. This function does not ask you to verify, so any typos can assign an incorrect account.
Example:
!set twitter premierleague
Even though this information can be found inside the project on machine-readable format like in a .json file, it's good to include a summary of most useful links to humans using your project. You can include links like:
- Repository: https://github.com/tfisher21/personal-discord-bot
- JS Packages and APIs used:
- Twitter API: https://developer.twitter.com/en/docs.html
- Twit: https://github.com/ttezel/twit
- Discord API: https://discordapp.com/developers/docs/intro
- DiscordJS: https://discord.js.org/#/
- dotenv: https://github.com/motdotla/dotenv
"The code in this project is licensed under MIT license."