Skip to content

Expand alias with multi commands #1872

@sogehige

Description

@sogehige

This is extension of http://sogehige.github.io/sogeBot/#/_master/howto/run-random-command, where custom variable should be used more for dynamic creation of commands, this should be more static

Can be used with !alias or id. !alias should fail if there are more than 1 aliases requiring specific alias id. Error should return list of aliases + number of commands?

  • add posibility of multiple commands
    • !alias add-alias -p?=<permission> <!alias> <command> - should return alias id as well
    • !alias del-alias <!alias|id>
    • !alias add-command <!alias|id> <command>
    • !alias del-command <!alias|id> <commandId>
    • !alias list-command <!alias|id>
    • !alias list-alias
  • add toggle for sequential or parallel or random run
    • sequential - run command one by one
    • parallel - run commands at once (default)
    • randomize run command one by one by random
    • !alias set-run <!alias|id> <type>
  • random should toggle unique random, unique go through all or random
    • full random should throw random alias regarding it was ran before (default)
    • unique random should check last run alias and ensure its not repeated
    • all should check all runs of alias and be forced to go through all commands
    • !alias set-random <!alias> <random|unique|all>
  • add filter for whole alias
    • !alias set-filter <!alias|id> <filter>
    • !alias del-filter <!alias|id>
    • !alias get-filter <!alias|id>
  • update UI to Vue.js

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions