What's new?
Check out what's new.
New
All in one type file, reorganized types (does not affect user experience)
Guild XP #14: Managing Guild Member's XP, including set/award.
Major change: Integrated API Types into TouchGuild. (affects the whole library, makes the user-experience even better when using Non-REST methods)
Added 'Invalid token' error.
Added TouchGuild's http header
Made scripts better with ESLint.
Added
pkgconfig.ts, this file provides every information about your current TouchGuild version.Added
ForumTopicCommentcomponent, this component provides three methods: createTopicComment, edit & delete.Added a new Client method:
createTopicCommentAdded a new Client method:
editTopicCommentAdded a new Client method:
deleteTopicCommentAdded a new Client method:
getRESTTopicCommentAdded a new Client method:
getRESTTopicCommentsAdded a new Client method:
getTopicCommentsAdded a new Client method:
addTopicReactionAdded a new Client method:
removeTopicReactionAdded a new ForumTopic method:
addReactionAdded a new ForumTopic method:
removeReactionAdded a new gateway event:
guildCreate(fired when bot joins a guild)Added a new gateway event:
forumTopicCommentCreateAdded a new gateway event:
forumTopicCommentUpdateAdded a new gateway event:
forumTopicCommentDeleteAdded a new gateway event:
forumTopicReactionAddAdded a new gateway event:
forumTopicReactionRemoveAdded
GuildCreateInfotypes for theguildCreateevent.Cache now supports ForumTopic & stores those components when needed.
Now, every requests uses API Typings, it makes the library more accurate.
Added the following exports:
ForumTopicCommentandAPITypes
Updated
Improved: Dev to Nightly: Improved web socket. #13
Removed unused imports (does not affect user experience)
Fixed some component typings.
Fixed
replayMissedEventsnot working.Removed
Types.ts, replaced bylib/tg-types/types.tsUpdated
targetfromES6toES2022Reduced dependencies from 16 to 7!
Fixed circular imports issues caused by Utils (calls).
Deleted
UserClientInfo(types), replaced byUserClient(component).Updated DevTools, supports retry when server response equals 429.
Fixed
WSManagerParamstypings.Deleted reactionInfo, replaced by messageReactionInfo and forumTopicReactionInfo
Updated endpoints & fixed typos.
Updated identifiers by adding the new gateway events.
Last updated