Documentation of commands


#1

Im a devloper (a litle new) and i want know if exists some link with every command/full docs, code, variable of the Nightbot.

I wont the normal documentation becouse there are no every command…


#2

You can get every command either from the docs site or through Nightbot’s API those are the two resources that exist for it.


#3

But they dont have full explain to commands like !permit and commands in line


#4

You can use the search feature in the Docs Site to list you pages in which permit is used. Due to it’s nature of being a sub command it doesn’t have a correct place for it’s own page.


#5

And inline !commands


#6

The !commands Command Page is also on the Docs Site. I’m not sure by what your asking for by inline.


#7

Like:
!commands add !hello world


#8

Adding Commands:

Usage

!commands add !command_name command response
!command_name is the name of the command you wish to use.

Commands are usually prefixed with an exclamation mark

command response is the message you want Nightbot to reply with when the command is called.


#9

Is there a way to change the prefix from “!” to something else? Thanks!

(I can’t find this topic anywhere else in the forums)


#10

For custom commands, you can choose your own prefix.

Example:

!commands add ?commandName Response

or 

!commands add #commandName Response
etc, etc... 

#11

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.