-
Notifications
You must be signed in to change notification settings - Fork 65
Commands
Cynthia Lin edited this page Mar 19, 2017
·
24 revisions
This is a list of the current commands that zulipbot supports.
- Only one command can be used per comment/description.
- Comments edited to be included in a comment/description will not work.
- Commands within code blocks will be ignored and any commands that follow in the same comment/description will not work.
-
username
— Theusername
object configured insrc/secrets.js
; the username that zulipbot is authenticated as. -
command
— The specified command that will trigger a response or action from zulipbot. -
"multiple" "arguments"
— The arguments for commands are surrounded with double quotes ("
); only certain commands require arguments.
Assigns the commenter to an issue (or issue creator if included in an issue body). Works in issue comments and issue descriptions.
- Gives new contributors repository permissions based on the
addCollabPermission
object - If
inProgressLabel
is defined insrc/config.js
, a label with the value ofinProgressLabel
will be added to the claimed issue. - Can be enabled/disabled by configuring the
claimEnabled
object configured insrc/config.js
.
Unassigns the commenter from an issue. Works in issue/pull request comments.
- If
inProgressLabel
is defined insrc/config.js
and is labeled on the abandoned issue/pull request, a label with the value ofinProgressLabel
will be removed from the issue/pull request. - Can be enabled/disabled by configuring the
abandonEnabled
object configured insrc/config.js
.
Adds existing repository labels to issues and pull requests. Works in issue descriptions and issue/pull request comments.
- Attempts to add nonexistent repository labels to an issue/pull request will result in an error message.
- Travis build notifications can be added to pull requests using
@username label "travisUpdatesLabel"
wheretravisUpdatesLabel
is thetravisUpdatesLabel
configured insrc/config.js
. - Configure the
selfLabelingOnly
object insrc/config.js
to only allow issue/pull request creators to label their own issues/pull requests. - Can be enabled/disabled by configuring the
labelEnabled
object configured insrc/config.js
.
Removes labels from issues and pull requests. Works in issue descriptions and issue/pull request comments.
- Attempts to remove invalid labels from an issue/pull request will result in an error message.
- Configure the
selfLabelingOnly
object insrc/config.js
to only allow issue/pull request creators to remove labels from their own issues/pull requests. - Can be enabled/disabled by configuring the
removeEnabled
object configured insrc/config.js
.
Need more help? Join us on the zulipbot stream on the Zulip development community server.