Introduction to Plugins

wip

A Plugin for Unifier is a package made to extend Unifier's functionality. This can include bot extensions (aka cogs), which may directly interact with the Discord API as Unifier, or utility modules, which may be used by your Plugin or Unifier to do some neat magic.

Some of these Plugins include Unifier Revolt Support, a plugin that allows Unifier to work on Revolt by managing the Revolt bot instance as well as bridging messages from Revolt to Discord.

Making a Plugin

To make a Plugin, you can use our template repository to get started. Here, you can find template files for how your plugin repository should look like, such as but not limited to a bot extension file and the Plugin metadata file, also known as plugin.json.

Using plugin.json

plugin.json is a file which contains your Plugin's metadata, as well as tells Unifier System Manager what files it needs in order for the Plugin to function. We provide a comprehensive guide on each key in the README.md file, so we recommend you read its contents to know how to use the file.

Services

Your Plugin can offer "Services" that Unifier needs to know your plugin offers in order for them to function properly, such as content protection and emoji packs.

Last updated