Closed ghost closed 6 years ago
Check out the master and have a go at it.
It's documented here on how to do the syntax. But basically you just need to setup a webhook (associated with a channel) and build your url from there.
From the command line i was successful doing the following:
# tts = Text-To-Speech / by default this is off, but for testing it's kind of fun to enable.
#
# The "Websocket_ID" and "Websocket_Token" below is in the format:
# discord:/Websocket_ID/Websocket_Token?tts=True
#
# You can override the bot name (from it's default) if you specify it on the command
# line too. It uses whatever name you set up if you don't specify it
./Notify.py -s discord://override_bot_name@417565656656565298/JHZ7lQml27hghghC1o33Myghghgv7YTpadV_js?tts=True
I'd be interested in your feedback; let me know if i can close this ticket too! :smile:
It's been a week, I'm going to close this issue since it's been completed. But feel free to reach out if you have any other questions or problems!
Works great! Thanks!
Does it support setting a URL for the bot image?
Add ?avatar=Yes
to the end of your URL and you should be good to go! :smile:
Edit: oh... Re-reading what you wrote. No, unfortunately you can't set your own custom image. I'm not sure how easy that would be to implement from the url string. But maybe I could add a feature that points to a configuration file where you can add more customization? I'd have to think about that one.
@caronc I'd love to be able to point to a public image online and use that as the avatar. 👍
Would be nice. 👍