We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
hi,
It would be very interesting if you could create a feature to load a json, as in the example:
DiscordEmbed.from_dict(embed_json)
def send_discord_message(webhook_url, embed_json): try: webhook = DiscordWebhook(url=webhook_url) embed = DiscordEmbed.from_dict(embed_json) webhook.add_embed(embed) webhook.execute() print(f"Mensagem enviada via webhook:\n{embed_json}") except Exception as e: print(f"Erro ao enviar mensagem via webhook: {e}")
The text was updated successfully, but these errors were encountered:
No branches or pull requests
hi,
It would be very interesting if you could create a feature to load a json, as in the example:
DiscordEmbed.from_dict(embed_json)
The text was updated successfully, but these errors were encountered: