Skip to content

Unable to override Avatar URL and Name? #157

@vaylvn

Description

@vaylvn

Hello,

Quite possibly missing something obvious here however I'm using the following code:
webhook = DiscordWebhook(url = config["webhook"], content = "", username = "Vayl Test", avatar_url = "https://i.ibb.co/mHgBcY2/icon.png")

(config referring to a file of mine)

Everything works fine except for the fact the username and avatar_url are completely ignored.

Just wondering if I'm perhaps going about this the wrong way? I believe I'm following the docs though it wouldn't be the first time I've missed the obvious!

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions