discord library

Classes

Argument
An argument for a command.
Attachment
A message attachment.
Channel
A channel.
ChannelCreateEvent
Sent when a channel is created..
ChannelDeleteEvent
Sent when a channel is deleted.
ChannelUpdateEvent
Sent when a channel is updated.
Client
The base class. It contains all of the methods.
ClientOAuth2Application
The client's OAuth2 app, if the client is a bot.
ClientOptions
The options for Client.
ClientUser
The client user.
Command
A command for the command client.
CommandClient
The command client. This is not fully ready for production.
DMChannel
A private channel.
Embed
A message embed.
EmbedProvider
A message embed provider.
EmbedThumbnail
A message embed thumbnail.
Game
A game.
GroupDMChannel
A group DM channel.
Guild
A guild.
GuildBanAddEvent
Sent when a member is banned.
GuildBanRemoveEvent
Sent when a user is unbanned from a guild.
GuildChannel
A guild channel.
GuildCreateEvent
Sent when the bot joins a guild.
GuildDeleteEvent
Sent when you leave a guild.
GuildMemberAddEvent
Sent when a member joins a guild.
GuildMemberRemoveEvent
Sent when a user leaves a guild, can be a leave, kick, or ban.
GuildMemberUpdateEvent
Sent when a member is updated.
GuildUnavailableEvent
Sent when you leave a guild or it becomes unavailable.
GuildUpdateEvent
Sent when a guild is updated.
Invite
An invite.
InviteChannel
A mini channel object for invites.
InviteGuild
A mini guild object for invites.
Member
A guild member.
Message
A message.
MessageDeleteEvent
Sent when a message is deleted.
MessageEvent
Sent when a new message is received.
MessageUpdateEvent
Sent when a message is updated.
OAuth2Application
An OAuth2 application.
OAuth2Guild
A mini guild object with permissions for OAuth2Info.
OAuth2Info
Info about a OAuth2 app, bot, user, and possible guilds that that bot can be invited to.
Permissions
Permissions for a role or channel override.
PresenceUpdateEvent
Sent when a member's presence updates.
ReadyEvent
Sent when the client is ready.
Role
A role.
RoleCreateEvent
Sent when a role is created.
RoleDeleteEvent
Sent when a role is deleted.
RoleUpdateEvent
Sent when a role is updated.
Shard
An internal shard.
TextChannel
A text channel.
TypingEvent
Sent when a user starts typing.
User
A user.
Util
The utility functions for the client.
VoiceChannel
A guild channel.
Webhook
A user.

Exceptions / Errors

ClientNotReadyError
An error for when a method is called before the client is ready.
HttpError
An HTTP error.
InvalidShardError
An error for when your shard settings are invalid.
InvalidTokenError
An error for when your token is invalid.