Add Message.is_forwardable to check if a message can be forwarded#10353
Add Message.is_forwardable to check if a message can be forwarded#10353n6ck wants to merge 3 commits intoRapptz:masterfrom
Message.is_forwardable to check if a message can be forwarded#10353Conversation
|
Is there an upstream docs page listing the criteria of whether a message is forwardable? |
|
given this is accepted, I think this should be in MessageType, not in Message. Similar to But at the same time, you can't check for polls/activity etc, so...
|
https://discord.com/developers/docs/resources/message#message-reference-types |
Good idea |
Summary
Adds a new method
Message.is_forwardableto check if a message can be forwarded withMessage.forwardHelps to avoid failed forwarding attempts by providing a simple boolean check
Inspired by
Message.is_systemChecklist