Skip to content

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

Notifications You must be signed in to change notification settings

PylonModules/autorole

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 

Repository files navigation

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!

About

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

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published