Skip to content

Commit 9335521

Browse files
committed
Merge developer in to oauth2
1 parent 44c1f49 commit 9335521

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

discord/flags.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -333,6 +333,11 @@ def suppress_notifications(self):
333333
The user(s) will still see a mention in the channel, but no push or desktop notification will be sent.
334334
"""
335335
return 4096
336+
337+
@flag_value
338+
def is_voice_message(self):
339+
""":class:`bool`: Returns ``True`` if the message is a voice message."""
340+
return 8192
336341

337342

338343
@fill_with_flags()

0 commit comments

Comments
 (0)