Drone plugins > Discord

The discord plugin posts build status messages to discord channel.

Example

kind: pipeline
name: default

steps:
- name: discord notification
  image: appleboy/drone-discord
  settings:
    webhook_id: xxxxxxxxxx
    webhook_token: xxxxxxxxxx

Properties

  • webhook_id

    stringrequired

    discord webhook id.

    Secret recommended

    Default: none

  • webhook_token

    stringrequired

    discord webhook token.

    Secret recommended

    Default: none

  • avatar_url

    stringoptional

    override the default avatar of the webhook.

    Default: none

  • username

    stringoptional

    override the default username of the webhook.

    Default: none

  • tts

    booleanoptional

    enable text-to-speech.

    Default: false

  • message

    stringoptional

    the message contents (up to 2000 characters).

    Default: none