Source code for voltage.enums

import enum


[docs]class EmbedType(enum.Enum): """ An enum which represents an Embed's type. """ website = "Website" image = "Image" text = "Text" none = "None"
[docs]class SortType(enum.Enum): """ An enum which represents the sort type for fetching messages. """ latest = "Latest" oldest = "Oldest" relevance = "Relevance"
[docs]class ChannelType(enum.Enum): """ An enum which represents the channel type. """ text_channel = "TextChannel" voice_channel = "VoiceChannel" group = "Group" direct_message = "DirectMessage" saved_message = "SavedMessages"
[docs]class AssetType(enum.Enum): """ An enum which represents the type of an asset. """ image = "Image" video = "Video" audio = "Audio" file = "File" text = "Text"
[docs]class PresenceType(enum.Enum): """ An enum which represents the type of a presence. """ busy = "Busy" idle = "Idle" online = "Online" invisible = "Invisible" focus = "Focus"
[docs]class RelationshipType(enum.Enum): """ An enum which represents the type of a relationship between two users. """ friend = "Friend" blocked = "Blocked" blocked_other = "BlockedOther" incoming_request = "Incoming" outgoing_request = "Outgoing" user = "User" none = "None"