Skip to content

Version 1.4.0

Compare
Choose a tag to compare
@arandomnewaccount arandomnewaccount released this 07 Oct 14:41
· 119 commits to master since this release
  • updated ready event parsing to use the value of "users" to provide full user data to DM recipients and relationships (thx dolfies)
  • added 4 functions to gateway.session.guild(guildID): applicationCommandCount, maxMembers, stages, and stickers
  • renamed gateway.session.guild(guildID).position to gateway.session.guild(guildID).me
  • added gateway.queryGuildMembers and gateway.checkGuildMembers (op8 "brute forcing" now possible)
  • added remote auth functions (initRA, remoteAuthLogin) + ability to add/remove functions to the remote auth gateway
  • fixed color printing for windows
  • only import stuff when needed (speed up imports)
  • use __slots__ to lower ram usage
  • fixed login (thx MayaankAshok)
  • added 59 rest api wraps:
    • getRelationships, getVoiceRegions, getHandoffToken
    • suppressEveryonePings, suppressRoleMentions, enableMobilePushNotifications, setChannelNotificationOverrides, setMessageNotifications, muteGuild, muteDM
    • getRoleMemberCounts, getGuildIntegrations, getGuildTemplates, getRoleMemberIDs, addMembersToRole, setMemberRoles
    • createGuild, deleteGuild, previewGuild, getDiscoverableGuilds, deleteChannel, getGuildInvites, getChannelInvites, getGuildRegions, getGuildChannels
    • DM groups: removeFromDmGroup, addToDmGroup, createDmGroupInvite, setDMGroupName, setDmGroupIcon, deleteInvite
    • setPhone and validatePhone (thx sudo-do)
    • Threads: setThreadNotifications, createThread, leaveThread, joinThread, archiveThread, unarchiveThread
    • School hubs: lookupSchool, schoolHubSignup, schoolHubWaitlistSignup, schoolHubSignup, verifySchoolHubSignup, getSchoolHubGuilds, getSchoolHubDirectoryCounts, joinGuildFromSchoolHub, searchSchoolHub, getMySchoolHubGuilds, setSchoolHubGuildDetails
    • getLiveStages
    • setProfileColor
    • Interactions: getSlashCommands (only for dms), triggerSlashCommand, click
    • getReportMenu, reportSpam
    • setUserNote
    • inviteToCall, declineCall
  • added Interaction helper classes:
    • utils.slash.SlashCommander
    • utils.button.Buttoner
  • added gateway.request.searchSlashCommands