Skip to content

What's the difference between a plugin and an extension? #247

Answered by tandemdude
g4bey asked this question in Q&A
Discussion options

You must be logged in to vote

A plugin is effectively a "category" - it can have commands and listeners registered to it and can be plugged into and removed from the bot at any time.

An extension is a python file with a load function declared in it, and optionally an unload function, which can be loaded, unloaded and reloaded at any time. An extension can contain many plugins, commands, listeners, or anything else you may wish to have in the extension.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by g4bey
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants