Skip to content
This repository was archived by the owner on Aug 10, 2022. It is now read-only.
This repository was archived by the owner on Aug 10, 2022. It is now read-only.

Internal Webserver - show loaded triggers and help #86

@Efreak

Description

@Efreak

Several options:

  1. merge webui into steam-chat-bot - done
  2. keep webui as a trigger - done
  3. move it into a separate project that requires steam-chat-bot and possibly manages several of them
  4. move it into a separate repo anyways and figure out a way to import triggers from other packages into steam-chat-bot. (this is likely a good idea anyways).

Ideally, webui would have all the functions shown, and possibly more.

  • default page Private plugin-only
    • Optionally can only be shown to someone logging in via steam openid.
    • Triggers X, Y, Z are loaded, click it for help if there's a trigger.help variable to provide information.
      • trigger.options.webUI=false or trigger.webUI=false should prevent a given trigger from showing
  • Admin page can only be opened by those logging into a whitelisted account via steam openid
    • Allows you to perform actions
      • Say X in Y
      • Load/unload triggers
      • change trigger options without loading/unloading them
      • change options that are currently only changeable in the constructor (ie, global ignores)
    • Shows live bot logs
      • live chat logs are already available in logTrigger, don't show that crap
      • Configurable log level
      • Showing in console is easy. If we can find a way to scroll it through a div, that would be better.
    • Allows server-side file management (ie, downloading, uploading of individual files)
    • Start bot, logon fail due to missing guard code => enter guardcode into webui instead of restarting the bot.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions