TouchGuild v1.2.2 #52
pakkographic
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Greetings!
We've released TouchGuild v1.2.2, if you'd like to see what's new, you're at the right place!
Client,Channels#createReactionToSubcategorymethod, which allows you to add a reaction to a target inside a subcategory (3rd path parameter).Client,Channels#deleteReactionFromSubcategoryClient,Channels#createCalendarCommentClient,Channels#editCalendarCommentClient,Channels#deleteCalendarCommentClient,Channels#getCalendarEventCommentClient,Channels#getCalendarEventCommentsCalendarReactionInfoCalendarEventCommentCalendarEvent#commentsproperty.createReactionallows you to add emote to aCalendarEventdeleteReactionallows you to remove an emote from aCalendarEventendpoints.tsforumCommentUpdateandforumThreadUpdateenables you to get old thread/comment.docUpdateallows you to get the old version of the doc.calendarEventRsvpUpdateallows you to get the old version of the rsvp.ChannelSubcategoryReactionTypesChannelReactionTypesto add CalendarEvent.webhookIDfromForumThreaddue to API change.ForumThreadComment#createReactionand#deleteReactionReactionInfobaseUserClientnow extendsUserdue to recent API changes.UserClient#createdByCreateCalendarCommentOptions&EditCalendarCommentOptions&ConstructorCalendarEventCommentOptionshave been added.calendarCommentstoClientOptions,collectionLimits.calendarCommentCreate,calendarCommentUpdate,calendarCommentDeleteCalendarReactionTypesAnyReactionInfonow includesCalendarReactionInfoguildedapi-types.ts)Misc#getUser(client.rest.misc#getUser), a method used to get a user which wasn't possible before due to API restrictions.updateUser, this isn't for bot developers.baseURLcan now be edited, this allows us to use guilded subdomains or 3rd parties URL to make requests. Not sure if it'll be used, but at least we have it.Calendar event comments
-> You can now interact with event comments, this includes the CalendarEventComment class, the ability to "create", "edit", "delete" and new events are added such as:
calendarCommentCreate,calendarCommentUpdateandcalendarCommentDelete. You can also get them through REST by using these methods:getCalendarEventCommentorgetCalendarEventComments.Calendar event series
Recent API changes included CalendarEventSeries, they are useful for event repetitions, every days, months and so on.. That's why we adapted the createCalendarEvent method to fit such features. We also added
editCalendarEventSeries, anddeleteCalendarEventSeriesmethods to let you manage these series.Add/remove reaction from subcategory.
You can now add or remove reactions to/from a subcategory, that means the 3rd path parameter, this includes
ForumThreadCommentandCalendarEventComment.(e.g: /channels/channelID/topics/PARAM1/comments/PARAM2/emotes/PARAM3).
New properties for existing events.
We added the ability to get the old version of updated components to these events:
forumCommentUpdate,forumThreadUpdate,docUpdate,calendarEventRsvpUpdate.Adding/removing Calendar event reactions.
We've updated the
createReactionanddeleteReactionmethods to support adding or removing reactions from aCalendarEvent.UserClient now extends User due to recent API changes.
The UserClient class is now extending the User class, every property that User has are in the class with additional properties unique to the bot, such as
createdBy.Finally, we can get a user.
Yeah, you can now get a user by executing the
Misc#getUsermethod (client.rest.misc#getUser).Caching system enhancement.
We've updated our caching system to ensure that new data is included and saved in cache. Unfortunately we can't store some information due to Guilded API's restrictions, due to not providing enough information such as the ID of the server for maintaining the coherence of the cache hierarchy.
A little step for us, a big step for you all.
You can make requests and edit the
baseURLcan now be edited, this allow users to make requests to 3rd parties, it is pretty limited though, but can be useful.We've updated dependencies
As the title says, we've updated dependencies so everything's up to date.
Thanks for using TouchGuild, a message from the team.
We're doing our best to keep the library updated, and we're releasing development builds very fast after an API feature release, so you have everything early and can manage to prepare yourself for the update. We'd like to note that development builds are very up to date, which leads to issues, bugs and stable builds are releasing lately to ensure the best user-experience as a bot developer.
Beta Was this translation helpful? Give feedback.
All reactions