Skip to content
This repository was archived by the owner on Apr 19, 2023. It is now read-only.

Configuration command #6

@cchudant

Description

@cchudant

hey how about a !conf command?

3 args:

  • [file]: the file to edit
  • [key]: the key to edit / set
  • [value]: the value to set

of course we need to check if the sender is owner (of the bot) before doing any change

that would meen the value should be json5-parsed to enable values like [55, 11] and objects and more
if the value is undefined then we should delete the key (or comment it like we do when we generate config file)

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions