![]() I want to use a webhook to automatically post URLs to new youtube videos in particular threads, but not directly into the channel. ![]() advertise economy wowgoblins reddit twitch goldmaking Join WoW Market. Although most fields are optional, running the action requires content in the message body or content in at least one of the embed attributes. Wowhead News Discord Webhook Get World of Warcrafts latest news via our Discord. This action will send a rich message from the IFTTT Bot to the channel you specify. How can I go about this issue? Is there are a way to make sure everything has been delimited in the body and this works universally across all posts. How does one use Discord webhooks to post to a channel thread, not the channel itself For example, I have a text channel called videos in which are a number of threads: A, B, C etc. This Action will submit a new link on reddit. However, some posts cause it to return 400: Bad Request. Return " Passing data " str(submission.) " to Discord Webhook" Basic Webhook from discordwebhook import DiscordWebhook webhook DiscordWebhook(url'your webhook url', content'Webhook Message') response webhook.execute() Create multiple instances If you want to use multiple URLs you need to create multiple instances. I have the following method for the same, def discordwebh(submission):Ĭontent = "Reddit Video : " submission.urlĬontent = "> " submission.url "\n" lftext ROBLOSECURITY cookie of the online gaming platform Roblox, and sends it to a Discord webhook along with the users details: username, id, Robux balance (Roblox’s own in-game currency), thumbnail, and whether the user is a Premium one or not. I'm trying to send posts from a subreddit to a discord webhook using the "praw" and "requests" module for python 3.
0 Comments
Leave a Reply. |