Nautilus handles all command execution for Arraybot.
Server-side:
- Go
- discordgo
- discord-interactions-go
Data:
- PostgreSQL
These are the environment variables required to run the application properly:
ADMINS: A semicolon separated list of admin user IDsAPP_ID: The application's IDAPP_PUBKEY: The application's public keyBOT_TOKEN: The application's bot's tokenCOMMANDS_SECRET: The secret token to use to trigger actions from the panel.DEV_SERVER: The development server's ID, can be blank or missing in productionHOST_LISTENER: The event listerner's hostnameHOST_MONITOR: The monitor API's hostnamePORT_COMMANDS: The command handler's portPORT_LISTENER: The event listener's portPORT_MONITOR: The monitor API's portSCHEME_LISTENER: The event listener's schemeSCHEME_MONITOR: The monitor API's scheme
These are the flags that can be passed into the command line.
Default value: false.
This runs the application in production mode.
As such, no WebSocket connection will be established.
Default value: false.
This ensures to re-register all slashcommands in Discord.
If --prod is set to true, this will register them as global commands.
Otherwise, it will register them as local commands in the server in the DEV_SERVER envrionment variable.
Default value: false.
If this is set to true, this will soley register the commands.
The database will not be connected to, neither will a WebSocket, and the HTTP server will not bind.