Skip to content

ChipWolf/zendesk-discord-webhook-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

zendesk-discord-webhook-bot

Discord Webhook Bot for Zendesk

Usage

Tested with Python 3.8.2:

pip3 install -r requirements.txt

export ZDWB_DISCORD_WEBHOOK="https://discordapp.com/api/webhooks/...."
export ZDWB_ZENDESK_EMAIL="richard.hendricks@piedpiper.com"
export ZDWB_ZENDESK_TOKEN="abcdefghijklmnopqrstuvwxyz1234567890"
export ZDWB_ZENDESK_SUBDOMAIN="piedpiper"

python3 bot.py

ZDWB_HISTORY_MINUTES may also be set as an environment variable to signal the application on first run to collect the number of minutes you specify of historical data from Zendesk to post to the webhook channel.

Screenshots