interactions-py / interactions.py

A highly extensible, easy to use, and feature complete bot framework for Discord
https://interactions-py.github.io/interactions.py/
MIT License
833 stars 185 forks source link

fix: allow removing files and embeds by editing #1697

Closed ItsRqtl closed 2 months ago

ItsRqtl commented 3 months ago

Pull Request Type

Description

Allow users to remove files or embeds from messages by passing an empty list into files/embeds fields in edit method of Message/InteractionContext or edit_origin method of ComponentContext.

Changes

Related Issues

Not on GitHub but the related Discord thread: https://discord.com/channels/789032594456576001/1245924804314267760

Test Scenarios

Python Compatibility

Checklist