Uploaded image for project: 'Other'
  1. Other
  2. OTHER-288

Implement prefix-based command interface for botbot

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Normal Normal
    • BrainzBot
    • None

      BotBotMe's idea of handling commands seems to be that instead of using prefixes (like !, $ or &) the bot has to be explicitly pinged.

      As others have said, this is pretty verbose and not as simple to use.

      I think the proper way to implement this would be a new botbot-plugins decorator complete with a rule in botbot-web to filter messages starting with a prefix specified in .env and allow plugins to specify a command and receive a list of arguments.

      This would prevent having to set the prefix for each plugin and should make plugin development significantly easier.

      Edit: This might also be useful for porting plugins from other IRC bots.

            leo verto Leo Verto
            leo verto Leo Verto
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                Version Package