Discord.py: Editing/deleting webhook messages

Created on 18 Nov 2020  路  1Comment  路  Source: Rapptz/discord.py

The Problem

AIUI, it's not currently possible to edit webhook messages via discord.py. Historically this has been due to Discord limitations, but recently support for this was added: https://github.com/discord/discord-api-docs/issues/1544#issuecomment-708707645

The Ideal Solution

I'd like to be able to edit messages sent via webhook; it would be nice to be able to delete them via the webhook API too, in the case where the bot user lacks permission to manage messages.

The Current Solution

It's not possible to edit webhook messages via discord.py, and webhook messages can only be deleted if a bot user has the relevant permissions.

Summary

discord.py should support the new webhook API endpoints for editing and deleting messages.

feature request

Most helpful comment

We're aware. There isn't a good way to implement it in discord.py's current state.

See this conversation in the discord.py Discord server.

>All comments

We're aware. There isn't a good way to implement it in discord.py's current state.

See this conversation in the discord.py Discord server.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Be4Vision picture Be4Vision  路  3Comments

Nicba1010 picture Nicba1010  路  3Comments

Spyder-exe picture Spyder-exe  路  3Comments

superloach picture superloach  路  3Comments

reuscam picture reuscam  路  3Comments