Skip to content

A module to auto-publish messages sent in news channels

Notifications You must be signed in to change notification settings

PylonModules/autopublisher

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 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/autopublisher.ts, and add the contents of module.ts to it.
  2. Add this configuration to your config.ts file:
const autopublisher = {
  channels: ['channel 1', 'channel 1'],
}; export { autopublisher };

channels is an array of the channel IDs you want messages to be published in. IDs must be news channels, or the module will error.

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

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 auto-publish messages sent in news channels

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published