From 2086f15998f28f8f08ca1dcab4deaea83decbdca Mon Sep 17 00:00:00 2001 From: arandomnewaccount <68355905+arandomnewaccount@users.noreply.github.com> Date: Thu, 7 Oct 2021 10:39:47 -0400 Subject: [PATCH] 1.4.0 --- changelog.md | 31 +++++++++++++++++++++++++++++++ discum/__version__.py | 2 +- docs/readme.md | 2 +- readme.md | 2 +- setup.py | 2 +- 5 files changed, 35 insertions(+), 4 deletions(-) diff --git a/changelog.md b/changelog.md index f5b0b88..17d73fa 100644 --- a/changelog.md +++ b/changelog.md @@ -1,4 +1,35 @@ # Changelog +# 1.4.0 +### Added +- 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 if you share a dm with the bot), triggerSlashCommand, click +- getReportMenu, reportSpam +- setUserNote +- inviteToCall, declineCall +- utils.slash.SlashCommander (from discum.utils.slash import SlashCommander) to craft slash command interaction data +- utils.button.Buttoner (from discum.utils.button import Buttoner) to craft button/dropdown interaction data +- gateway.request.searchSlashCommands (only for guilds), gateway.queryGuildMembers (op8 "brute forcing" now possible), and gateway.checkGuildMembers +- remote auth functions (initRA, remoteAuthLogin) + ability to add/remove functions to the remote auth gateway (ra) +- 4 functions to gateway.session.guild(guildID): applicationCommandCount, maxMembers, stages, and stickers +- gateway.connectionKwargs variable (dict): possible key values = "proxy\_type", "http\_proxy\_auth"; see issue #153 +### Changed +- use \_\_slots__ to lower ram usage +- only import stuff when needed (speed up imports) +- fixed login (thx MayaankAshok) +- fixed color printing for windows +- renamed gateway.session.guild(guildID).position to gateway.session.guild(guildID).me +- updated ready event parsing to use the value of "users" to provide full user data to DM recipients and relationships (thx dolfies) +### Removed +- getGuildMember + # 1.3.1 ### Added - checkPermissions function to permissions.py diff --git a/discum/__version__.py b/discum/__version__.py index d8cca0e..d9e5b37 100644 --- a/discum/__version__.py +++ b/discum/__version__.py @@ -1,3 +1,3 @@ -VERSION = (1, 3, 1) +VERSION = (1, 4, 0) __version__ = '.'.join(map(str, VERSION)) diff --git a/docs/readme.md b/docs/readme.md index a2b0640..713ab6a 100644 --- a/docs/readme.md +++ b/docs/readme.md @@ -3,7 +3,7 @@ Discum A simple, easy to use, non-restrictive, synchronous Discord API Wrapper for Selfbots/Userbots written in Python. -![version](https://img.shields.io/badge/latest%20version-1.3.1-blue) [![python versions](https://img.shields.io/badge/python-2.7%20%7C%203.5%20%7C%203.6%20%7C%203.7%20%7C%203.8%20%7C%203.9-blue)](https://github.com/Merubokkusu/Discord-S.C.U.M) +![version](https://img.shields.io/badge/latest%20version-1.4.0-blue) [![python versions](https://img.shields.io/badge/python-2.7%20%7C%203.5%20%7C%203.6%20%7C%203.7%20%7C%203.8%20%7C%203.9-blue)](https://github.com/Merubokkusu/Discord-S.C.U.M) Table of Contents ----------------- diff --git a/readme.md b/readme.md index aab931d..9a0a0f1 100644 --- a/readme.md +++ b/readme.md @@ -1,5 +1,5 @@ # DisCum -![version](https://img.shields.io/badge/github%20version-1.3.1-blue) [![python versions](https://img.shields.io/badge/python-2.7%20%7C%203.5%20%7C%203.6%20%7C%203.7%20%7C%203.8%20%7C%203.9-blue)](https://github.com/Merubokkusu/Discord-S.C.U.M) +![version](https://img.shields.io/badge/github%20version-1.4.0-blue) [![python versions](https://img.shields.io/badge/python-2.7%20%7C%203.5%20%7C%203.6%20%7C%203.7%20%7C%203.8%20%7C%203.9-blue)](https://github.com/Merubokkusu/Discord-S.C.U.M) [![PyPI version](https://badge.fury.io/py/discum.svg)](https://badge.fury.io/py/discum) [![python versions](https://img.shields.io/badge/python-2.7%20%7C%203.5%20%7C%203.6%20%7C%203.7%20%7C%203.8%20%7C%203.9-green)](https://pypi.org/project/discum) A simple, easy to use, non-restrictive, synchronous Discord API Wrapper for Selfbots/Userbots written in Python. -using requests and websockets :) diff --git a/setup.py b/setup.py index 6dff4f6..44cccfb 100644 --- a/setup.py +++ b/setup.py @@ -18,7 +18,7 @@ EMAIL = 'loser@merubokkusu.com' AUTHOR = 'Merubokkusu' REQUIRES_PYTHON = '>=2.7.0' -VERSION = '1.3.1' +VERSION = '1.4.0' # What packages are required for this module to be executed? REQUIRED = [