/partner-bot

Automates partnerships in the big community of discord.

Primary LanguageJavaScriptMIT LicenseMIT

Quality Gate Status Lines of Code Bugs GitHub license Discord

Partner bot is a discord bot that uses discord-js and sqlite to automate partnerships in the big community of discord. When you bump your advertisement, the bot sends it to every guild that has the bot setup with a configurable cooldown.


Preview of Bump Message

Preview

Install on Glitch

  1. Create an account on https://glitch.com
  2. Create new project -> import from GitHub -> https://github.com/Valks-Bots/partner-bot
  3. Click src folder dots icon to right -> create new file -> .env -> put BOT_TOKEN=BotTokenHere inside
  4. Change ownerID in config.js to your user ID
  5. Go to tools -> open up Terminal -> type npm start
  6. Create an invite link for the bot by grabbing its ID and putting it in the following URL https://discordapp.com/api/oauth2/authorize?client_id=YOUR_BOT_ID_HERE&scope=bot&permissions=27681
  7. Invite the bot to at least 2 unique guilds
  8. Continue setup with t!help

Install on Windows

  1. Clone https://github.com/valkyrienyanko/partner-bot.git
  2. Download and install LTS Node.js
  3. Install yarn with npm i -g yarn
  4. Run yarn install in the project root directory
  5. Generate a bot token from the Discord Developers Portal
  6. Create a .env file in the src folder with the following content inside (BOT_TOKEN=BotTokenHere)
  7. Change ownerID in config.js to your user ID
  8. Start server with yarn start
  9. Create an invite link for the bot by grabbing its ID and putting it in the following URL https://discordapp.com/api/oauth2/authorize?client_id=YOUR_BOT_ID_HERE&scope=bot&permissions=27681
  10. Invite the bot to at least 2 unique guilds
  11. Continue setup with t!help

Install on Mac

Feel free to create a PR and fill this section out.

Install on Linux

Feel free to create a PR and fill this section out.

Install on Heroku

Feel free to create a PR and fill this section out.