Add method to remove any attachment/embed #147
Labels
enhancement
New feature or request
hacktoberfest
PRs are requested to be eligible to participate in Hacktoberfest
hacktoberfest-accepted
PR has been accepted to participate in Hacktoberfest
Is your feature request related to a problem? Please describe.
Based on this issue it would be nice to have a method that removes all attachments/embeds that are currently attached to a
Msg
. This should be a simple change.Describe the solution you'd like
I am thinking about three seperate methods:
Msg.UnsetAllAttachments()
: That removes all currently assigned attachmentsMsg.UnsetAllEmbeds()
: That removes all currently assigned embedsMsg.UnsetAllParts()
: That removes all currently assigned attachments and embedsDescribe alternatives you've considered
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: