You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Some plugins like quote act globally (you set a quote and that quote is available everywhere the bot is running on), others like mset are local, and run only on the group they have been set.
Cloning the plugin making it work globally (example: Gquote for global quote and quote for local quote) or being able to select "global" or "local" when setting or when calling a plugin would be awesome.
The text was updated successfully, but these errors were encountered:
Maybe this could be done with a global as well as local db (this.globalDB, this.localDB[message.chat.id])? However, local DB access would be rather cumbersome. Perhaps it could be passed to the event handler (eg. onText({message, command, args, localDB}))?
Of course, it would be up to the plugin author to provide a way to access global vs. local features.
Some plugins like quote act globally (you set a quote and that quote is available everywhere the bot is running on), others like mset are local, and run only on the group they have been set.
Cloning the plugin making it work globally (example: Gquote for global quote and quote for local quote) or being able to select "global" or "local" when setting or when calling a plugin would be awesome.
The text was updated successfully, but these errors were encountered: