#WebhookMessage.edit

1 messages · Page 1 of 1 (latest)

sinful nest
#

there's not a built-in way

#

just set discord.WebhookMessage.edit to a different function

#

forget exactly how but that's basically how it works

#

I usually use a custom embed class for that

#

ah

#

well you'd just have to set discord.WebhookMessage.edit to a diff function as i said

#

forget exactly how

sand bolt
#

Meow

sinful nest
#

might have something one sec

sand bolt
#

Anyone Alive herE?

sinful nest
#

#general

sand bolt
#

Ik That's why I came here

sinful nest
#

here's what i did

# Override discord.InteractionResponse.defer
async def defer(self, *, ephemeral: bool = False) -> None:
    ...

def defer_prop(interaction, *args, **kwargs):
    return defer(interaction, *args, **kwargs)

discord.InteractionResponse.defer = defer_prop
#

should function

#

similarly

#

no I don't think so

#

if I were you I'd just make a custom edit function that's attached to the bot or smth

#

it's probably being passed self because python thinks it's in a class