Results 4 comments of Valtteri

Hey, The method name is `add_embed_field`, not `add_field`. Example code: ```py from discord_webhook import DiscordEmbed embed = DiscordEmbed() embed.add_embed_field(name='My field', value='Hello world') ``` I hope this helps.

Hey, could you share your imports? Make sure you import `DiscordEmbed` from `discord_webhook`: ```py from discord_webhook import DiscordEmbed embed = DiscordEmbed(title=(embedtitle), description=(embeddesc), color=(embedcolor)) ```

Yeah, you have to import `DiscordWebhook` and `DiscordEmbed` from `discord_webhook`. Then you create instances of `DiscordWebhook` and `DiscordEmbed`. Your code should look something like this: ```py from discord_webhook import DiscordWebhook,...

This issue is pretty old already, but i guess it probably won't hurt to give my opinion on this issue. In my opinion, you should just use CSRF tokens to...