You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
message.is_accepted() should return False whenever message.is_message_request() is True and message.accept() wasn't called
Actual Results
message.is_accepted() is always returning True when message.is_message_request() is True, but this is clearly not the intended behavior - it should return False if message.is_message_request() is True and True if message.is_message_request() is False
Summary
DMChannel.is_accepted() is always returning True for both message requests and regular messages
Reproduction Steps
It should return
False
by default on message requests, but it's returningTrue
Code
Expected Results
message.is_accepted()
should returnFalse
whenevermessage.is_message_request()
isTrue
andmessage.accept()
wasn't calledActual Results
message.is_accepted()
is always returningTrue
whenmessage.is_message_request()
isTrue
, but this is clearly not the intended behavior - it should returnFalse
ifmessage.is_message_request()
isTrue
andTrue
ifmessage.is_message_request()
isFalse
System Information
Checklist
Additional Information
No response
The text was updated successfully, but these errors were encountered: