Documentation
To run
git clone https://github.com/Srizza93/harry-botter.git
npm install
npm run dev
- 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.
- "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.
- First create all the necessary channels (/channels) for the server, this will also create a role for each channel.
- Then, you can create the welcome page (/welcome), for users to pick their role.
- Create a trainer category (/trainer).
- Start sharing your discord link (/invitations).