Skip to main content
Haunt’s prefix is set to ; by default.
Use ;prefix set [character]to change the prefix for your server.

Creating a new response trigger

Get started by using the response create command.
The trigger and response must be separated by a comma (,).
You can use Embeds and Variables while creating a response as well.
;response create (trigger, response) [{flags}]
;response create read the docs, https://docs.haunt.site
;response create read the docs, {"embeds":[{"description":"read the docs {user}","color":9716547}]}
;response create read the docs, https://docs.haunt.site {reply}
;response create read the docs, https://docs.haunt.site {loose}
;response create read the docs, https://docs.haunt.site {delete: 5s}

What flags can I use with responders

Here are the flags that are available for creating responses
The {loose} flag will search for the trigger anywhere in the message.
For example, if the trigger is bhisa, haunt will respond to bhisa is cool.
The {reply} flag will reply to the trigger message.
The {delete} flag will delete the response after a certain amount of time.
To use the delete flag you HAVE to provide a time frame, Example: {duration: 10s}

Delete an existing response trigger

Delete an existing response trigger by using the response delete command.
;response delete (trigger)
;response delete read the docs

View every existing response trigger

;response view [trigger]
;response view hi zay

Remove every existing response

;response clear
;response clear

Update an existing response trigger

Here are the following subcommands to update settings for a response trigger.
This command will update the message which triggers the response.
The message and the new message must be separated with a comma (,).
;response update message (message), (new message)
;response update message hi zay, hello zay
This command will update the response that sends when it’s triggered.
The message and the response must be separated with a comma (,).
;response update response (message), (response)
;response update response hi zay, shut up
This command updates the loose setting for the response.
The message and the choice must be separated with a comma (,).
;response update loose (message), (choice)
;response update loose hi zay, false
This command updates the reply setting for the response.
The message and the choice must be separated with a comma (,).
;response update reply (message), (choice)
;response update reply hi zay, yes
This command updates the cooldown setting for the response.
The message and the duration must be separated with a comma (,).
;response update cooldown (message), (duration)
;response update cooldown hi zay, 5 minutes
This command updates the prompt setting for the response.
The message and the choice must be separated with a comma (,).
;response update prompt (message), (choice)
;response update prompt hi zay, true
Turning on the prompt setting repeats what you say after triggering the response.
This command deletes the response that gets sent.
The message and the duration must be separated with a comma (,).
;response update delete (message), (duration)
;response update delete hi zay, 3 seconds
This command will delete the message that triggered the response.
The message and the duration must be separated with a comma (,).
;response update delete trigger (message), (duration)
;response update delete trigger hi zay, 3 seconds
This command updates the match setting for the message.
The message and the match must be separated with a comma (,).
;response update match (message), (start|exact|end)
;response update match hi zay, start
Start means the message trigger has to be at the start of the message.
Exact makes the message trigger work as normal.
End means the message trigger has to be at the end of the message.

Restrict a response to a role

Start by using the response role command.
;response role add (message), (role)
;response role add hi zay, @haunt
The message and the role must be separated with a comma (,).
;response role remove (message), (role)
;response role remove hi zay, @haunt
;response role view
;response role view
;response role clear
;response role clear

Restrict a response to a channel

Start by using the response channel command.
;response channel add (message), (channel)
;response channel add hi zay, #commands
The message and the channel must be separated with a comma (,).
;response channel remove (message), (channel)
;response channel remove hi zay, #commands
;response channel view
;response channel view
;response channel clear
;response channel clear

What else can I do?

You can also entirely ignore a member, role or channel from triggering responses.

Ignore a member

;response ignore (member)
;response ignore @bhisa
;response ignore remove (member)
;response ignore remove @bhisa
;response ignore view
;response ignore view
;response ignore clear
;response ignore clear

Ignore a role

;response ignore role (role)
;response ignore role @haunt
;response ignore role remove (role)
;response ignore role remove @haunt
;response ignore role view
;response ignore role view
;response ignore role clear
;response ignore role clear

Ignore a channel

;response ignore channel (channel)
;response ignore channel #general
;response ignore channel remove (channel)
;response ignore channel remove #general
;response ignore channel view
;response ignore channel view
;response ignore channel clear
;response ignore channel clear