With this revamped friend codes bot, you can easily store and share your Pokemon Go and Nintendo Switch friend codes with all your friends on Discord! This bot utilizes slash commands, which are designed to only be visible to the person who executes them (with the exception of the commands meant for sharing your code) thereby minimizing clutter in the chat.
- Easily add your Pokemon Go and Nintendo Switch friend codes to the bot once, and share them with friends on-demand. Never have to copy/paste or type it out again!
- Get other player's friend codes so you can quickly add them in-game!
- Simple to update/delete your friend codes from the bot.
-
/add-pogocode
- Add your Pokemon Go friend code to the bot. ex:1234 5678 9012
-
/update-pogocode
- Update your Pokemon Go friend code. -
/delete-pogocode
- Delete your Pokemon Go friend code from the bot. -
/my-pogocode
- Get your Pokemon Go friend code. -
/get-pogocode
- Tag a friend to get their Pokemon Go friend code.
-
/add-switchcode
- Add your Nintendo Switch friend code to the bot. ex:SW-1234-5678-9012
-
/update-switchcode
- Update your Nintendo Switch friend code. -
/delete-switchcode
- Delete your Nintendo Switch friend code from the bot. -
/my-switchcode
- Get your Nintendo Switch friend code. -
/get-switchcode
- Tag a friend to get their Nintendo Switch friend code.
- Follow the guide here for creating your bot
- Clone this repository locally
- Navigate to the bot directory and run
npm install
- Rename
.env.example
to.env
and add your own tokens and database credentials. - run
node app.js
This bot uses Sequelize and PostgreSQL. So you'll need to either set up a Postgres DB or update the Sequelize config in /db/db-connect.js
to match the dialect you're using.
Note: you can/need to run dbSync.js
to quickly create the table and model in your DB using Sequelize.
In order for your bot to use slash commands in a server, you will need to run node deploy-commands.js
once at initial setup and then again every time you add new commands.