Skip to main content

New Domain

Create Notification Alert

/notification create new-domain
info

This command can only be ran in a server.

Parameters:

*Required

blockchain*

type: Option
description: Blockchain where the domain(s) exists.
choices: [ Terra Classic, Terra ]

regex

type: Regex | String
description: Regex to match single or multiple domains. | Domain to be alerted about.
info
  • Keep in mind that the domain must be in the format of domain.tld and not just the name of the domain.
  • If you want to match multiple domains you can either use the regex .* to match all domains or | to separate the domains.
  • You can also send the regex parameter empty to match all domains.
  • We recommend to use a regex builder as regex101 to build and test your regex.

channel

type: Channel
description: Channel to send the alerts.
default: Channel where the command was executed.

Example Usage

domain with channel
/notification create new-domain blockchain:Terra regex:alien.luna channel:#new-domains

or

regex without channel
/notification create new-domain blockchain:Terra regex:alien.*\.luna

Delete Notification Alert

/notification delete new-domain

Parameters:

*Required

id*

type: Option
description: Your previously created New Domain notifications.
choices: [ Your notifications ]

Example Usage

/notification delete new-domain id:New Domains