An assistive technology bot for people who have trouble using their hands, or for those who don't have hands.
npm run start
This loads the commands onto Discord and starts the bot client running.
- Join our FingerTips Discord, where we do testing.
- Fork and clone this repo.
- Create a test Discord bot here.
- Ping one of the Discord admins to invite your bot in the server for testing.
- Name it as FingerTips - your username
- Read the official Discord.js guide and follow the steps until Adding your bot to servers.
- Create an .env file and copy paste all contents of .env.example
- Add your Discord server's guild ID, client bot token, and client bot ID into the .env file, for example:
# This is specific to the FingerTips discord server
DISCORD_GUILD_ID="906936820724555776"
DISCORD_TOKEN="Your bot's OAuth token"
DISCORD_CLIENT_ID="Your bot's Client Id"
(In the above example we added DISCORD_GUILD_ID as the GUILD_ID of our FingerTips Discord)
Note: This helpful article covers many of the steps above: https://www.writebots.com/discord-bot-token/
- Run
npm install
- Run
node deploy-commands.js
if you have made any changes to the deploy-commands.js file. - Once you got the clientId and token for your bot you can run the bot using
node index.js
- Pro tip: Use
npm run start
as a shortcut to runnode deploy-commands.js && node index.js
FingerTips on main [!] is 📦 v1.0.0 via ⬢ v14.17.0
➜ npm run start
> [email protected] start
> node deploy-commands.js && node index.js
internal/modules/cjs/loader.js:888
throw err;
^
Error: Cannot find module 'timers/promises'
Make sure you are using Node 16 or greater.
nvm use 16
To volunteer, join the FingerTips Discord and ask for help getting started as a new volunteer.