Setup Command Refactor - United-Programming/UPBot GitHub Wiki

Format

setup refactor mode setup reformat mode

Result

This command enable/disable the Refactor command.
The possible values for mode are:

  • n or d or - to disable
  • a or r or o to enable only for Admins
  • e or y or + to enable for everybody

This command has no other options.

Only admins can replace the original code with the refactor, who is specified in the option can just analyze the code or post it re-formatted without removing the original post.

⚠️ **GitHub.com Fallback** ⚠️