mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-06-07 12:18:59 +00:00
Add SystemChannelFlags.join_notification_replies
Add SUPPRESS_JOIN_NOTIFICATION_REPLIES system channel flag See: discord/discord-api-docs#3977
This commit is contained in:
parent
2c89202214
commit
423fd1bc26
@ -216,6 +216,15 @@ class SystemChannelFlags(BaseFlags):
|
|||||||
"""
|
"""
|
||||||
return 4
|
return 4
|
||||||
|
|
||||||
|
@flag_value
|
||||||
|
def join_notification_replies(self):
|
||||||
|
""":class:`bool`: Returns ``True`` if sticker reply button ("Wave to say hi!") is
|
||||||
|
shown for member join notifications.
|
||||||
|
|
||||||
|
.. versionadded:: 2.0
|
||||||
|
"""
|
||||||
|
return 8
|
||||||
|
|
||||||
|
|
||||||
@fill_with_flags()
|
@fill_with_flags()
|
||||||
class MessageFlags(BaseFlags):
|
class MessageFlags(BaseFlags):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user