Skip to content

Commit

Permalink
Add Discord notification directive to Envoy
Browse files Browse the repository at this point in the history
  • Loading branch information
KABBOUCHI committed Oct 29, 2018
1 parent 2270f84 commit ae83afb
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions envoy.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
- [Confirming Task Execution](#confirming-task-execution)
- [Notifications](#notifications)
- [Slack](#slack)
- [Discord](#discord)

<a name="introduction"></a>
## Introduction
Expand Down Expand Up @@ -176,3 +177,12 @@ You may provide one of the following as the channel argument:
- To send the notification to a channel: `#channel`
- To send the notification to a user: `@user`
</div>

<a name="discord"></a>
### Discord

Envoy also supports sending notifications to [Discord](https://discord.com) after each task is executed. The `@discord` directive accepts a Discord hook URL and a message. You may retreive your webhook URL by creating a "Webhook" in your Server Settings and choose which channel the Webhook posts to. You should pass the entire Webhook URL into the `@discord` directive:

@finished
@discord('discord-webhook-url','A custom message.')
@endfinished

0 comments on commit ae83afb

Please sign in to comment.