Add --disable-gateway parameter to the run parameters to stop the bot from connecting to discord. Useful when working on the web-api
This commit is contained in:
parent
447c6d8042
commit
85d06b76e0
3 changed files with 18 additions and 10 deletions
|
@ -20,6 +20,9 @@ namespace Geekbot.Core
|
|||
|
||||
[Option('e', "expose-errors", HelpText = "Shows internal errors in the chat (default: false) (env: EXPOSE_ERRORS)")]
|
||||
public bool ExposeErrors { get; set; } = ParamFallback("EXPOSE_ERRORS", false);
|
||||
|
||||
[Option("disable-gateway", HelpText = "Disables the Discord Gateway (default: false) (env: GATEWAY_DISABLE)")]
|
||||
public bool DisableGateway { get; set; } = ParamFallback("GATEWAY_DISABLE", false);
|
||||
|
||||
/************************************
|
||||
* Database *
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue