- Add guild to cache when receiving any event containing guild id.
- Add channel to cache when receiving any event containing a channel id.
- Add cache hierarchy (e.g: guild/channels/messages/message)
- Remove Client#cache, cache isn't entirely managed in Client anymore.
- Channel filters by channel types.
- Add
GuildChannel
, TextChannel
, DocChannel
, ForumChannel
, GuildChannel
, CalendarChannel
.
- Add
Base#toJSON
, ListItem#toJSON
, Webhook#toJSON
, UserClient#toJSON
, Guild#toJSON
, Member#toJSON
, User#toJSON
, ForumThread#toJSON
, BannedMember#toJSON
, CalendarEventRSVP#toJSON
, CalendarEvent#toJSON
, CalendarChannel#toJSON
, DocChannel#toJSON
, ForumChannel#toJSON
, TextChannel#toJSON
, GuildChannel#toJSON
, Channel#toJSON
, Doc#toJSON
, ForumThreadComment#toJSON
, Message#toJSON
- Add AnyTextableChannel, AnyChannel, AnyGuildChannel typings.
- Add Client params:
collectionLimits
to configure cache.
- Update imports.
- Edit every handlers to match new caching system.
- Update REST methods to match new caching system & new components.
- Add update methods to every components for data update when receiving new data.
- Add
Client#guilds
- Add
Client#users
- Add
Client#util
- Add
Client#startTime
- Add
Client#uptime
- Update
Client#getMember
, not sending rest request anymore.
- Update
Client#getMembers
not sending rest request anymore.
- Update
Client#getGuild
not sending rest request anymore.
- Update
Client#getMessage
not sending rest request anymore.
- Update
Client#getMessages
not sending rest request anymore.
- Update Doc#member, ForumThreadComment#member, Guild#owner, ListItem#member, Member#user, MemberUpdateInfo#oldRoles, Message#member
- Add
Guild#getMember
- Add
Guild#verified
- Add
Guild#channels
- Add
Guild#members
- Add
oldChannel
to channelUpdate event
- Message#editLastMessage -> Message#editLast
- Message#deleteLastMessage -> Message#deleteLast
- Message#editOriginalMessage -> Message#editOriginal
- Message#deleteOriginalMessage -> Message#deleteOriginal
Website
Release documentation