Skip to content

Srizza93/harry-botter

Repository files navigation

Documentation

To run

git clone https://github.com/Srizza93/harry-botter.git

npm install

npm run dev

Please create a config.json file with the below variables:

  • token => Go to the app dev tool, then click on 'bot', click on 'Reset token'.
  • clientId => Go to the app dev tool of discord and clcik on 'copy' on the Application ID.
  • guildId => Right click on the guild image and click 'copy ID'.
  • adminId => Right click on your image profile and click 'copy ID'.

Commands are deployed from deploy-commands.js and then they are executed via index.js.

Slash Commands

  • "channels" => channels.js => Requests an input for the category name and creates a category, a text and a voice channel, and an associated role.
  • "trainer" => trainer.js => Creates a private category for trainers, with a text and a voice channels.
  • "welcome" => welcome.js => Creates a private welcome text channel and a default role which will be assigned when entering the server. Then the user can choose their new role and lose the default role via the text channel.
  • "roles" => roles.js => Requests an input for the desired role and lists all the members ids of it.
  • "kickperrole" => kickperrole.js => Requests an input and kick out all members of the chosen role.
  • "invitations" => invitations.js => Generates a link invitation.

Instructions

  1. First create all the necessary channels (/channels) for the server, this will also create a role for each channel.
  2. Then, you can create the welcome page (/welcome), for users to pick their role.
  3. Create a trainer category (/trainer).
  4. Start sharing your discord link (/invitations).

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published