![]() ![]() Two hardest problems in computer science, indeed. The one comment I've gotten on Reddit was to change the name to this (from Net::Discord::Webhook) - the PAUSE guide recommends using either WWW or WebService when referring to modules that interoperate with a web-based service. I would suggest a name more like WebService::Discord::Notifier. Unless Discord intends for these API URLs to be set as "Web hooks" in other services and produce notifications in a Discord chat? Once you've selected the repo, go into the Settings > Webhooks menu And then click the 'Add webhook' button, and enter the Discord-generated URL in the 'Payload URL' blank. Discord is using the term almost completely differently to refer to an HTTP API for posting notifications to Discord chats, instead of a mechanism for receiving events from Discord at some chosen URL. Add the webhook URL into your GitHub repo settings Choose the repository that you'd like to get updates from in your Discord server. To make this even more confusing, a "Web hook" is usually a URL on your server that receives requests as a result of events somewhere else. Re^2: RFC: new module WebService::Discord::Webhook You can lead your users to water, but alas, you cannot drown them. I do plan to submit this to CPAN and it would be my first module there, so I want to make sure I get it right!ĮDIT2: Nobody had complaints except the names. I would appreciate it if anyone could provide feedback or check the code and see if it looks sensible. I tried to focus on ease of use and documentation. Use Webhook to Auto Post Memes on Discord Server (2021) - FREE SebRauf. The various functions of Webhooks are wrapped in Perl functions that execute with HTTP::Tiny, and data structures with JSON::PP. (Discord Reddit 6) - YouTube Live in 4 minutes January 21 at 6:30 AM. I created this Perl module as a way to help interact with Discord webhooks. (For those unfamiliar with Discord, think "Slack, if it chugged a 12 pack of Mountain Dew".) These are special secret URLs that allow an external client to post notifications into chat by making certain HTTP requests. The Discord chat service allows server ops to create "webhook"s for their server. ![]() I originally posted this to Reddit, which directed me here. ![]()
0 Comments
Leave a Reply. |