/autorole

A module to add a role to a user when they join the server

Primary LanguageTypeScript

autorole

Made by proudparrot2

If you haven't used Pylon Modules before, or are confused by what's in this README, please read our guide repository

Installation

  1. Make a new file in the Pylon Studio Editor called modules/autorole.ts, and add the contents of module.ts to it.
  2. Add this configuration to your config.ts file:
const autorole = {
  role: ['role id 1', 'role id 2'],
  enabled: true,
}; export { autorole };

role is an array of the autorole IDs - you can have as many as you want.

  1. Append this to your main.ts file
import 'modules/autorole' 

When you save (CTRL/CMD + S), the module should be enabled!

If you need help with this module, please join our support server!