goodmind/cycle-telegram

Handle plugins

Closed this issue · 3 comments

How would you like to handle plugins? (which process commands, inline queries, etc)

matchPlugin currently finds first plugin whose RegExp pattern matches query from user input


https://github.com/goodmind/cycle-telegram/blob/master/src/plugins.js

Possibly remove from driver core for reasons:

  • Not stream-agnostic
  • Hard to maintain

Merged in eb6ad77