

set_thumbnail ( url = 'your thumbnail url' ) # set footer embed. set_image ( url = 'your image url' ) # set thumbnail embed. set_author ( name = 'Author Name', url = 'author url', icon_url = 'author icon url' ) # set image embed. execute ()įrom discord_webhook import DiscordWebhook, DiscordEmbed webhook = DiscordWebhook ( url = 'your webhook url' ) # create embed object for webhook embed = DiscordEmbed ( title = 'Your Title', description = 'Lorem ipsum dolor sit', color = '03b2f8' ) # set author embed. Webhook with Embedded Content from discord_webhook import DiscordWebhook, DiscordEmbed webhook = DiscordWebhook ( url = 'your webhook url' ) # create embed object for webhook # you can set the color as a decimal (color=242424) or hex (color='03b2f8') number embed = DiscordEmbed ( title = 'Your Title', description = 'Lorem ipsum dolor sit', color = '03b2f8' ) # add embed object to webhook webhook.

Multiple Webhook URLs from discord_webhook import DiscordWebhook webhook_urls = webhook = DiscordWebhook ( url = webhook_urls, content = 'Webhook Message' ) response = webhook. execute () Manage being Rate Limited from discord_webhook import DiscordWebhook # if rate_limit_retry is True then in the event that you are being rate # limited by Discord your webhook will automatically be sent once the # rate limit has been lifted webhook = DiscordWebhook ( url = 'your webhook url', rate_limit_retry = True, content = 'Webhook Message' ) response = webhook. Install via pip: pip install discord-webhookīasic Webhook from discord_webhook import DiscordWebhook webhook = DiscordWebhook ( url = 'your webhook url', content = 'Webhook Message' ) response = webhook. Execute Discord Webhooks (also has async support) Install
