Skip to content

Instantly share code, notes, and snippets.

View maxpatternman's full-sized avatar

Max Patternman maxpatternman

View GitHub Profile
@maxpatternman
maxpatternman / discord-bot-post-message.sh
Last active March 1, 2018 14:36 — forked from ianklatzco/discord-bot-post-message.sh
sends a message to a discord channel via a bot using command line HTTP POST- curl
#!/usr/bin/env bash
# update the TOKEN and the CHANNELID, rest is optional
# you may need to connect with a websocket the first time you run the bot
# use a library like discord.py to do so
BOT_TOKEN=''
CHANNELID=''
curl -v \