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
-
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#createReactionToSubcategory
method, which allows you to add a reaction to a target inside a subcategory (3rd path parameter).Client,Channels#deleteReactionFromSubcategory
Client,Channels#createCalendarComment
Client,Channels#editCalendarComment
Client,Channels#deleteCalendarComment
Client,Channels#getCalendarEventComment
Client,Channels#getCalendarEventComments
CalendarReactionInfo
CalendarEventComment
CalendarEvent#comments
property.createReaction
allows you to add emote to aCalendarEvent
deleteReaction
allows you to remove an emote from aCalendarEvent
endpoints.ts
forumCommentUpdate
andforumThreadUpdate
enables you to get old thread/comment.docUpdate
allows you to get the old version of the doc.calendarEventRsvpUpdate
allows you to get the old version of the rsvp.ChannelSubcategoryReactionTypes
ChannelReactionTypes
to add CalendarEvent.webhookID
fromForumThread
due to API change.ForumThreadComment#createReaction
and#deleteReaction
ReactionInfo
baseUserClient
now extendsUser
due to recent API changes.UserClient#createdBy
CreateCalendarCommentOptions
&EditCalendarCommentOptions
&ConstructorCalendarEventCommentOptions
have been added.calendarComments
toClientOptions
,collectionLimits
.calendarCommentCreate
,calendarCommentUpdate
,calendarCommentDelete
CalendarReactionTypes
AnyReactionInfo
now includesCalendarReactionInfo
guildedapi-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.baseURL
can 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
,calendarCommentUpdate
andcalendarCommentDelete
. You can also get them through REST by using these methods:getCalendarEventComment
orgetCalendarEventComments
.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
, anddeleteCalendarEventSeries
methods 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
ForumThreadComment
andCalendarEventComment
.(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
createReaction
anddeleteReaction
methods 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#getUser
method (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
baseURL
can 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