messages#

class wyvern.models.messages.AllowedMentions(*, users: bool = False, roles: bool = False, everyone: bool = False, replied_user: bool = False)[source]#

Bases: object

Allowed mentions in a message sent from bot.

Parameters:
  • users (bool) – Set to True to mention users.

  • roles (bool) – Set to True to mention roles.

  • everyone (bool) – Set to True to allow everyone/here mentions.

  • replied_user (bool) – Weather the replied users should be pinged.

class wyvern.models.messages.PartialMessage(*, id: Snowflake)[source]#

Bases: DiscordObject

property created_at: datetime#

Datetime at which the snowflake was created.

Returns:

Creation time.

Return type:

datetime.datetime

id: Snowflake#

ID of the message.