circumstellar library

A Dart wrapper for the Discord API

Classes

ApiEndpoints
A list of static endpoints and resources for API connections.
ApiRoute
Represents a route/endpoint that the client can request from Discord.
AuthSet
Represents neccesary secret values to connect to Discord.
ChannelBase
ChannelsRoute
Represents the /channels Discord endpoint.
ChannelType
Enumerable of all channel types.
ChannelTypeHelper
Static methods to help with resolving channel types.
CircumstellarInfo
Library information constants
DefaultLoggingImplementation
DefaultMessageNotificationLevel
Enumerable for default message notification level types.
DefaultMessageNotificationLevelHelper
Static methods to help with resolving Default Message Notification types.
DiscordClient
Represents a connection to the two Discord APIs.
EntityBase
Represents a generic Discord entity with an ID.
ExplicitContentFilterLevel
Enumerable for explicit content filter level types.
ExplicitContentFilterLevelHelper
Static methods to help with resolving Explicit Content Filter types.
GatewayRoute
Guild
Represents a Discord guild, a collection of channels and users.
GuildChannel
Represents a Discord channel inside of a guild.
GuildsRoute
GuildTextChannel
Represents a text-supported channel inside of a guild.
GuildVerificationLevel
Enumerable for guild verification level types.
GuildVerificationLevelHelper
Static methods to help with resolving guild verification types.
LoggerContext
Useful logging utility. See the Circumstellar Logging wiki page for more information.
LoggingImplementation
Message
Represents a message sent to a channel by a user or bot.
MessageType
Enumerable of all message types.
MessageTypeHelper
Static methods to help with resolving message types.
MFALevel
Enumerable for MFA level types.
MFALevelHelper
Static methods to help with resolving MFA level types.
OPCodeDescription
Describes any OP code.
User
Represents a user on Discord.
UsernameValidator
username_validator.dart Circumstellar - Models/User Utilities [...]
UsersRoute

Enums

ConnectStatus
LogLevel
TokenType
The type of token to connect with. You probably want to use Bot.

Exceptions / Errors

CacheException
Thrown when the cache cannot create, get or retrieve an object.
ResumeException
Thrown when the client cannot resume a connection.