Skip to content

v1.2.4

Compare
Choose a tag to compare
@pakkographic pakkographic released this 02 Dec 18:14
· 216 commits to dev since this release

✨ What's new?

  • Added guildMemberCount to the guildMemberAdd event
  • Updated endpoints
  • Fixed many comments

The REST#Channels methods below have been replaced by : createPermission, editPermission, deletePermission, getPermission.

getPermissions, getUserPermissions, getRolePermissions
createChannelRolePermission, getChannelRolePermission, getChannelRolesPermission, editChannelRolePermission, deleteChannelRolePermission, createChannelUserPermission, getChannelUserPermission, getChannelUsersPermission, editChannelUserPermission, deleteChannelUserPermission, createChannelCategoryRolePermission, getChannelCategoryRolePermission, getChannelCategoryRolesPermission, editChannelCategoryRolePermission, deleteChannelCategoryRolePermission, createChannelCategoryUserPermission, getChannelCategoryUserPermission, getChannelCategoryUsersPermission, editChannelCategoryUserPermission, deleteChannelCategoryUserPermission

  • The REST Guilds#updatePermission method has been renamed editPermission

  • The REST Guilds#updateRolePermission method has been renamed editRolePermission

  • The following methods have been added to REST#Guilds:
    createCategoryPermission, editCategoryPermission, getCategoryPermission, getCategoryPermissions, getCategoryUserPermissions, getCategoryRolePermissions, deleteCategoryPermission

  • Removed unnecessary structures: ChannelCategoryRolePermission.ts, ChannelCategoryUserPermission.ts, ChannelRolePermission.ts, ChannelUserPermission.ts

  • Added Client#getMemberPermission method

  • Added Client#editGuildRolePermission method

  • Added new Guilds & Channels structures' methods to Client for easier access.

  • Changed some properties name according for more coherence across the library.

  • Updated GuildCategory shortcut methods

  • Updated GuildRole's position property to access the correct data as Guilded updated the name of the property to priority.

  • Added the Permission class to structures.

  • Fixed TextChannel shortcut methods.

  • Removed JSONChannelUserPermission, JSONChannelRolePermission, JSONChannelCategoryRolePermission, JSONChannelCategoryUserPermission

  • Added: JSONPermission

  • Updated JSONGuildCategory

  • Updated GuildedAPI-Types.ts


Full Changelog: 1.2.3...1.2.4