Discord Commands
Overview
Section titled “Overview”Appwarden provides a set of Discord commands to help you manage your domains, incidents, and settings. This guide will walk you through the available commands and how to use them.
The following commands are issued by interacting with the Appwarden bot from your Discord server. If you haven’t already, add the Appwarden Discord integration from your organization settings in the Appwarden dashboard and follow the getting started guide.
Commands
Section titled “Commands”/quarantine
Section titled “/quarantine”The /quarantine commands are used to manage the quarantine status of a domain. When a domain is quarantined and a visitor lands on any route, a lock page is displayed in place of the normal content. Quarantining a domain is useful when you suspect a security breach or otherwise want to prevent access to your domain.
/quarantine lockThe /quarantine lock command is used to place a domain under quarantine. When a domain is quarantined, a lock page is displayed in place of the normal content.
In a few seconds, your domain will be quarantined and visitors will see the lock page on every route. Changes to the quarantine state may take up to 30 seconds to propagate.
In order to quarantine a domain, the domain must be verified. You can view the verification status of your domains by navigating to Settings > Security in the Appwarden dashboard.
unlock
Section titled “unlock”/quarantine unlockThe /quarantine unlock command is used to remove a domain from quarantine. When a domain is unlocked, normal website content is displayed to visitors.
/incident
Section titled “/incident”The /incident command is used to manage active incidents on your domain, including declaring and resolving incidents, as well as paging your team members via PagerDuty.
declare
Section titled “declare”/incident declareThe /incident declare command is used to declare an incident on your domain. Declared incidents are typically used to communicate planned changes, maintenance windows, or other situations that Appwarden is unable to detect.
You can only declare one active incident at a time. When an incident is declared, Appwarden posts an incident message to your default Discord channel and creates an incident thread for follow-up. You may only have one active declared incident at a time.
/incident declare from a regular channel, not from inside a thread.resolve
Section titled “resolve”/incident resolveThe /incident resolve command is used to resolve a declared incident. You must run this command from within the incident thread created when the incident was declared.
/incident pageThe /incident page command is used to page your team members via PagerDuty, where you can configure phone call and text message alerts.
To set up PagerDuty, navigate to Settings > Integrations in the Appwarden dashboard.
/settings
Section titled “/settings”The /settings commands are used to manage your Appwarden settings.
/settings setup code:your-setup-codeThe /settings setup command changes the channel that Appwarden sends incidents and other notifications to. Replace your-setup-code with the setup code found in your Appwarden dashboard.
You can find your Discord setup code in the Appwarden dashboard at Settings > Integrations > Discord.
/helpThe /help command is used to view a list of Appwarden commands and other helpful information.
