[go: up one dir, main page]

Create custom bot context

imported from https://todo.sr.ht/~luma_inhibitor/cables/27

We can subclass the bot context in order to add new attributes and methods to the context.

  • Move the configuration object to the bot context
  • Move the reply_fail() method to the bot context

This should obviate the need for any modules to import main.