pinhook icon indicating copy to clipboard operation
pinhook copied to clipboard

Class-based plugins

Open archangelic opened this issue 6 years ago • 2 comments

Implement class-based plugins for all features going forward.

Spec for class-based plugins:

  • [x] ability to give help info back to bot
  • [x] abstract way to send message to calling channel or other channel without returning
  • [ ] multiple command and listener support in single class (via method decorators)
  • [ ] on_mention decorator
  • [ ] cmd and listener plugins should meet these specs
  • [ ] ability to inform bot of aliases for commands
  • [ ] editable settings (possible work on bot to get this working)

archangelic avatar Sep 05 '18 18:09 archangelic

Some of the considerations outlined in https://github.com/archangelic/pinhook/pull/60 could be considered when developing class-based plugins.

ixxie avatar Feb 24 '19 13:02 ixxie

As of 1.8.0, this is in alpha and features of class-based plugins might change significantly.

archangelic avatar Sep 30 '19 18:09 archangelic