Print the JSON of the webhook
This commit is contained in:
parent
8f1719a17f
commit
d4910a76e1
@ -1,5 +1,6 @@
|
|||||||
from os import environ
|
from os import environ
|
||||||
from discord_webhook import DiscordEmbed, DiscordWebhook
|
from discord_webhook import DiscordEmbed, DiscordWebhook
|
||||||
|
from pprint import pprint
|
||||||
|
|
||||||
webhook = DiscordWebhook(environ["PLUGIN_WEBHOOK_URL"])
|
webhook = DiscordWebhook(environ["PLUGIN_WEBHOOK_URL"])
|
||||||
|
|
||||||
@ -39,4 +40,5 @@ webhook.add_embed(DiscordEmbed(
|
|||||||
}]
|
}]
|
||||||
))
|
))
|
||||||
|
|
||||||
|
pprint(webhook.json)
|
||||||
webhook.execute()
|
webhook.execute()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user