Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request] Discord support. #35

Closed
ghost opened this issue Jan 7, 2018 · 5 comments
Closed

[Feature Request] Discord support. #35

ghost opened this issue Jan 7, 2018 · 5 comments
Assignees

Comments

@ghost
Copy link

ghost commented Jan 7, 2018

Would be nice. 馃憤

@caronc caronc self-assigned this Jan 10, 2018
caronc added a commit that referenced this issue Feb 26, 2018
@caronc
Copy link
Owner

caronc commented Feb 26, 2018

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! 馃槃

caronc added a commit that referenced this issue Feb 27, 2018
@caronc
Copy link
Owner

caronc commented Mar 4, 2018

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!

@caronc caronc closed this as completed Mar 4, 2018
@ghost
Copy link
Author

ghost commented Mar 15, 2018

Works great! Thanks!

Does it support setting a URL for the bot image?

@caronc
Copy link
Owner

caronc commented Mar 15, 2018

Add ?avatar=Yes to the end of your URL and you should be good to go! 馃槃

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.

@ghost
Copy link
Author

ghost commented Mar 30, 2018

@caronc I'd love to be able to point to a public image online and use that as the avatar. 馃憤

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant