Skip to content

A Discord bot designed to help ease the process of sharing ripped assets in the Sonic Ripping Hub Discord server.

License

Notifications You must be signed in to change notification settings

barelyaiden/srh-helper

Repository files navigation

SRH Helper

A Discord bot designed to help ease the process of sharing assets in the Sonic Ripping Hub.

If you would like to join any of the servers associated with the project, Discord server invite links are provided below:

Additional Information

  • This bot is written in Discord.js 14 and requires Node.js 16.9.0 or higher to run as per Discord.js 14 requirements.
  • This bot is designed for the Sonic Ripping Hub Discord server and is not meant to work on other servers.
  • You must have a decent grasp of JavaScript, Node.js and Discord.js to be able to contribute to the project.
  • Your test bot account must have all privileged gateway intents enabled to function properly.

priviligedGatewayIntents

  • You must invite your test bot account to your testing server with the bot and applications.commands scopes and the Administrator permission via OAuth2.

inviteLink

  • YOU NEED TO USE THE LINK GENERATED BY OAuth2 WITH THESE FLAGS TO INVITE THE TEST BOT ACCOUNT TO YOUR TESTING SERVER.

How To Set Up A Development Environment (For Contributors)

  1. Fork the repository.
  2. Run a terminal in the root directory of the project and use the npm install command to install all dependencies.
  3. Create a .env file in the root directory of the project with the following code snippet inside:
DISCORD_TOKEN=yourtokenhere
  • MAKE SURE TO REPLACE yourtokenhere WITH YOUR OWN TEST BOT ACCOUNT'S TOKEN.
  • DO NOT SHARE YOUR TEST BOT ACCOUNT'S TOKEN AS THAT WILL ALLOW OTHERS TO RUN THEIR OWN (AND VERY LIKELY MALICIOUS) CODE ON YOUR TEST BOT ACCOUNT.
  1. Modify the config.json file with your own IDs and role names.
  2. To deploy commands run the node deploy-commands.js command in your terminal.
  • THIS WILL REGISTER YOUR COMMANDS ONLY IN YOUR TESTING SERVER, THE ID OF WHICH YOU WILL HAVE TO PROVIDE IN THE CONFIGURATION FILE.
  1. To start the bot use the node . command in your terminal (and stop the bot by using Ctrl + C inside your terminal).

About

A Discord bot designed to help ease the process of sharing ripped assets in the Sonic Ripping Hub Discord server.

Topics

Resources

License

Stars

Watchers

Forks