modifyself 0.3.7__tar.gz → 0.3.9__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (51) hide show
  1. {modifyself-0.3.7 → modifyself-0.3.9}/LICENSE +21 -21
  2. {modifyself-0.3.7 → modifyself-0.3.9}/PKG-INFO +52 -53
  3. {modifyself-0.3.7 → modifyself-0.3.9}/README.md +31 -31
  4. {modifyself-0.3.7 → modifyself-0.3.9}/modifyself/__init__.py +45 -45
  5. {modifyself-0.3.7 → modifyself-0.3.9}/modifyself/activity.py +403 -403
  6. {modifyself-0.3.7 → modifyself-0.3.9}/modifyself/client.py +565 -565
  7. {modifyself-0.3.7 → modifyself-0.3.9}/modifyself/commands/__init__.py +22 -22
  8. {modifyself-0.3.7 → modifyself-0.3.9}/modifyself/commands/checks.py +63 -63
  9. {modifyself-0.3.7 → modifyself-0.3.9}/modifyself/commands/cog.py +82 -82
  10. {modifyself-0.3.7 → modifyself-0.3.9}/modifyself/commands/context.py +117 -117
  11. {modifyself-0.3.7 → modifyself-0.3.9}/modifyself/commands/converters.py +101 -101
  12. {modifyself-0.3.7 → modifyself-0.3.9}/modifyself/commands/core.py +205 -205
  13. {modifyself-0.3.7 → modifyself-0.3.9}/modifyself/components.py +285 -285
  14. {modifyself-0.3.7 → modifyself-0.3.9}/modifyself/core/bitfield.py +158 -158
  15. {modifyself-0.3.7 → modifyself-0.3.9}/modifyself/core/enums.py +187 -187
  16. {modifyself-0.3.7 → modifyself-0.3.9}/modifyself/core/mixins.py +26 -26
  17. {modifyself-0.3.7 → modifyself-0.3.9}/modifyself/core/snowflake.py +64 -64
  18. {modifyself-0.3.7 → modifyself-0.3.9}/modifyself/errors.py +77 -77
  19. {modifyself-0.3.7 → modifyself-0.3.9}/modifyself/gateway/__init__.py +8 -8
  20. {modifyself-0.3.7 → modifyself-0.3.9}/modifyself/gateway/dispatcher.py +131 -131
  21. {modifyself-0.3.7 → modifyself-0.3.9}/modifyself/gateway/heartbeat.py +158 -158
  22. {modifyself-0.3.7 → modifyself-0.3.9}/modifyself/gateway/websocket.py +520 -499
  23. {modifyself-0.3.7 → modifyself-0.3.9}/modifyself/headers.py +335 -332
  24. {modifyself-0.3.7 → modifyself-0.3.9}/modifyself/http/__init__.py +8 -8
  25. {modifyself-0.3.7 → modifyself-0.3.9}/modifyself/http/client.py +692 -692
  26. {modifyself-0.3.7 → modifyself-0.3.9}/modifyself/http/ratelimit.py +335 -335
  27. {modifyself-0.3.7 → modifyself-0.3.9}/modifyself/http/route.py +330 -330
  28. {modifyself-0.3.7 → modifyself-0.3.9}/modifyself/interactions.py +207 -207
  29. {modifyself-0.3.7 → modifyself-0.3.9}/modifyself/models/__init__.py +31 -31
  30. {modifyself-0.3.7 → modifyself-0.3.9}/modifyself/models/base.py +41 -41
  31. {modifyself-0.3.7 → modifyself-0.3.9}/modifyself/models/billing.py +87 -87
  32. {modifyself-0.3.7 → modifyself-0.3.9}/modifyself/models/channel.py +195 -195
  33. {modifyself-0.3.7 → modifyself-0.3.9}/modifyself/models/guild.py +184 -184
  34. {modifyself-0.3.7 → modifyself-0.3.9}/modifyself/models/member.py +91 -91
  35. {modifyself-0.3.7 → modifyself-0.3.9}/modifyself/models/message.py +217 -217
  36. {modifyself-0.3.7 → modifyself-0.3.9}/modifyself/models/relationship.py +78 -78
  37. {modifyself-0.3.7 → modifyself-0.3.9}/modifyself/models/settings.py +53 -53
  38. {modifyself-0.3.7 → modifyself-0.3.9}/modifyself/models/user.py +78 -78
  39. {modifyself-0.3.7 → modifyself-0.3.9}/modifyself/models/webhook.py +167 -167
  40. {modifyself-0.3.7 → modifyself-0.3.9}/modifyself/state.py +422 -422
  41. {modifyself-0.3.7 → modifyself-0.3.9}/modifyself/types.py +161 -161
  42. modifyself-0.3.9/modifyself/utils.py +137 -0
  43. {modifyself-0.3.7 → modifyself-0.3.9}/modifyself/voice.py +302 -302
  44. {modifyself-0.3.7 → modifyself-0.3.9}/modifyself.egg-info/PKG-INFO +52 -53
  45. {modifyself-0.3.7 → modifyself-0.3.9}/modifyself.egg-info/requires.txt +0 -1
  46. {modifyself-0.3.7 → modifyself-0.3.9}/pyproject.toml +33 -34
  47. {modifyself-0.3.7 → modifyself-0.3.9}/setup.cfg +4 -4
  48. modifyself-0.3.7/modifyself/utils.py +0 -177
  49. {modifyself-0.3.7 → modifyself-0.3.9}/modifyself.egg-info/SOURCES.txt +0 -0
  50. {modifyself-0.3.7 → modifyself-0.3.9}/modifyself.egg-info/dependency_links.txt +0 -0
  51. {modifyself-0.3.7 → modifyself-0.3.9}/modifyself.egg-info/top_level.txt +0 -0
@@ -1,21 +1,21 @@
1
- MIT License
2
-
3
- Copyright (c) 2024 modifyself
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.
1
+ MIT License
2
+
3
+ Copyright (c) 2024 modifyself
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -1,53 +1,52 @@
1
- Metadata-Version: 2.4
2
- Name: modifyself
3
- Version: 0.3.7
4
- Summary: A clean, pythonic Discord self-bot library
5
- Author-email: modifyself <modifyself@example.com>
6
- License-Expression: MIT
7
- Project-URL: Homepage, https://github.com/clashings/modifyself
8
- Project-URL: Bug-Reports, https://github.com/clashings/modifyself/issues
9
- Project-URL: Source, https://github.com/clashings/modifyself
10
- Requires-Python: >=3.9
11
- Description-Content-Type: text/markdown
12
- License-File: LICENSE
13
- Requires-Dist: websockets>=10.0
14
- Requires-Dist: wreq>=0.1.0
15
- Requires-Dist: aiohttp>=3.8.0
16
- Requires-Dist: plyer>=0.9
17
- Requires-Dist: pillow>=10.0
18
- Requires-Dist: requests>=2.28
19
- Requires-Dist: PyNaCl>=1.5.0
20
- Requires-Dist: opuslib>=3.0.0
21
- Dynamic: license-file
22
-
23
- # modifyself
24
-
25
- A clean, pythonic Discord self-bot library.
26
-
27
- ## Installation
28
-
29
- pip install modifyself
30
-
31
- ## Quick Example
32
-
33
- rom modifyself import Client, command
34
-
35
- bot = Client(token="your_token")
36
-
37
- @bot.command()
38
- async def ping(ctx):
39
- await ctx.reply("Pong!")
40
-
41
- bot.run()
42
-
43
- ## Features
44
-
45
- - Clean, intuitive API
46
- - Command framework with cogs
47
- - Automatic rate limiting
48
- - Gateway event handling
49
- - Full API coverage
50
-
51
- ## License
52
-
53
- MIT
1
+ Metadata-Version: 2.4
2
+ Name: modifyself
3
+ Version: 0.3.9
4
+ Summary: A clean, pythonic Discord self-bot library
5
+ Author-email: modifyself <modifyself@example.com>
6
+ License-Expression: MIT
7
+ Project-URL: Homepage, https://github.com/clashings/modifyself
8
+ Project-URL: Bug-Reports, https://github.com/clashings/modifyself/issues
9
+ Project-URL: Source, https://github.com/clashings/modifyself
10
+ Requires-Python: >=3.9
11
+ Description-Content-Type: text/markdown
12
+ License-File: LICENSE
13
+ Requires-Dist: websockets>=10.0
14
+ Requires-Dist: wreq>=0.1.0
15
+ Requires-Dist: aiohttp>=3.8.0
16
+ Requires-Dist: plyer>=0.9
17
+ Requires-Dist: pillow>=10.0
18
+ Requires-Dist: PyNaCl>=1.5.0
19
+ Requires-Dist: opuslib>=3.0.0
20
+ Dynamic: license-file
21
+
22
+ # modifyself
23
+
24
+ A clean, pythonic Discord self-bot library.
25
+
26
+ ## Installation
27
+
28
+ pip install modifyself
29
+
30
+ ## Quick Example
31
+
32
+ rom modifyself import Client, command
33
+
34
+ bot = Client(token="your_token")
35
+
36
+ @bot.command()
37
+ async def ping(ctx):
38
+ await ctx.reply("Pong!")
39
+
40
+ bot.run()
41
+
42
+ ## Features
43
+
44
+ - Clean, intuitive API
45
+ - Command framework with cogs
46
+ - Automatic rate limiting
47
+ - Gateway event handling
48
+ - Full API coverage
49
+
50
+ ## License
51
+
52
+ MIT
@@ -1,31 +1,31 @@
1
- # modifyself
2
-
3
- A clean, pythonic Discord self-bot library.
4
-
5
- ## Installation
6
-
7
- pip install modifyself
8
-
9
- ## Quick Example
10
-
11
- rom modifyself import Client, command
12
-
13
- bot = Client(token="your_token")
14
-
15
- @bot.command()
16
- async def ping(ctx):
17
- await ctx.reply("Pong!")
18
-
19
- bot.run()
20
-
21
- ## Features
22
-
23
- - Clean, intuitive API
24
- - Command framework with cogs
25
- - Automatic rate limiting
26
- - Gateway event handling
27
- - Full API coverage
28
-
29
- ## License
30
-
31
- MIT
1
+ # modifyself
2
+
3
+ A clean, pythonic Discord self-bot library.
4
+
5
+ ## Installation
6
+
7
+ pip install modifyself
8
+
9
+ ## Quick Example
10
+
11
+ rom modifyself import Client, command
12
+
13
+ bot = Client(token="your_token")
14
+
15
+ @bot.command()
16
+ async def ping(ctx):
17
+ await ctx.reply("Pong!")
18
+
19
+ bot.run()
20
+
21
+ ## Features
22
+
23
+ - Clean, intuitive API
24
+ - Command framework with cogs
25
+ - Automatic rate limiting
26
+ - Gateway event handling
27
+ - Full API coverage
28
+
29
+ ## License
30
+
31
+ MIT
@@ -1,45 +1,45 @@
1
- """
2
- modifyself ? a clean, pythonic Discord self-bot library.
3
- """
4
-
5
- __version__ = "0.3.7"
6
-
7
- from .client import Client
8
- from .commands.core import command
9
- from .commands.cog import Cog
10
- from .commands.context import Context
11
-
12
- from .models.relationship import Relationship, RelationshipType
13
- from .models.billing import PaymentSource, Subscription
14
- from .models.settings import GuildSettings, UserSettings
15
- from .models.webhook import Webhook, WebhookMessage
16
-
17
- from .activity import Activity, ActivityType, ActivityFlags, spotify_activity, youtube_activity, xbox_activity, playstation_activity, crunchyroll_activity, custom_activity, listening_activity, streaming_activity, competing_activity, LOGO_MAP
18
-
19
- from .components import ComponentType, ButtonStyle, TextInputStyle, Button, SelectOption, SelectMenu, ChannelSelect, RoleSelect, MentionableSelect, UserSelect, TextInput, ActionRow, Modal
20
-
21
- from .interactions import Interaction, InteractionType, InteractionCallbackType, InteractionHandler, interaction_handler
22
-
23
- from .core.enums import (
24
- ChannelType, MessageType, VerificationLevel, NotificationLevel,
25
- ExplicitContentFilterLevel, MFALevel, NSFWLevel, PremiumType,
26
- ActivityType as EnumActivityType, Permissions, GatewayCloseCode,
27
- )
28
-
29
- __all__ = [
30
- "Client", "command", "Cog", "Context",
31
- "Relationship", "RelationshipType", "PaymentSource", "Subscription",
32
- "GuildSettings", "UserSettings", "Webhook", "WebhookMessage",
33
- "Activity", "ActivityType", "ActivityFlags",
34
- "spotify_activity", "youtube_activity", "xbox_activity",
35
- "playstation_activity", "crunchyroll_activity", "custom_activity",
36
- "listening_activity", "streaming_activity", "competing_activity", "LOGO_MAP",
37
- "ComponentType", "ButtonStyle", "TextInputStyle", "Button", "SelectOption",
38
- "SelectMenu", "ChannelSelect", "RoleSelect", "MentionableSelect",
39
- "UserSelect", "TextInput", "ActionRow", "Modal",
40
- "Interaction", "InteractionType", "InteractionCallbackType",
41
- "InteractionHandler", "interaction_handler",
42
- "ChannelType", "MessageType", "VerificationLevel", "NotificationLevel",
43
- "ExplicitContentFilterLevel", "MFALevel", "NSFWLevel", "PremiumType",
44
- "Permissions", "GatewayCloseCode",
45
- ]
1
+ """
2
+ modifyself ? a clean, pythonic Discord self-bot library.
3
+ """
4
+
5
+ __version__ = "0.3.8"
6
+
7
+ from .client import Client
8
+ from .commands.core import command
9
+ from .commands.cog import Cog
10
+ from .commands.context import Context
11
+
12
+ from .models.relationship import Relationship, RelationshipType
13
+ from .models.billing import PaymentSource, Subscription
14
+ from .models.settings import GuildSettings, UserSettings
15
+ from .models.webhook import Webhook, WebhookMessage
16
+
17
+ from .activity import Activity, ActivityType, ActivityFlags, spotify_activity, youtube_activity, xbox_activity, playstation_activity, crunchyroll_activity, custom_activity, listening_activity, streaming_activity, competing_activity, LOGO_MAP
18
+
19
+ from .components import ComponentType, ButtonStyle, TextInputStyle, Button, SelectOption, SelectMenu, ChannelSelect, RoleSelect, MentionableSelect, UserSelect, TextInput, ActionRow, Modal
20
+
21
+ from .interactions import Interaction, InteractionType, InteractionCallbackType, InteractionHandler, interaction_handler
22
+
23
+ from .core.enums import (
24
+ ChannelType, MessageType, VerificationLevel, NotificationLevel,
25
+ ExplicitContentFilterLevel, MFALevel, NSFWLevel, PremiumType,
26
+ ActivityType as EnumActivityType, Permissions, GatewayCloseCode,
27
+ )
28
+
29
+ __all__ = [
30
+ "Client", "command", "Cog", "Context",
31
+ "Relationship", "RelationshipType", "PaymentSource", "Subscription",
32
+ "GuildSettings", "UserSettings", "Webhook", "WebhookMessage",
33
+ "Activity", "ActivityType", "ActivityFlags",
34
+ "spotify_activity", "youtube_activity", "xbox_activity",
35
+ "playstation_activity", "crunchyroll_activity", "custom_activity",
36
+ "listening_activity", "streaming_activity", "competing_activity", "LOGO_MAP",
37
+ "ComponentType", "ButtonStyle", "TextInputStyle", "Button", "SelectOption",
38
+ "SelectMenu", "ChannelSelect", "RoleSelect", "MentionableSelect",
39
+ "UserSelect", "TextInput", "ActionRow", "Modal",
40
+ "Interaction", "InteractionType", "InteractionCallbackType",
41
+ "InteractionHandler", "interaction_handler",
42
+ "ChannelType", "MessageType", "VerificationLevel", "NotificationLevel",
43
+ "ExplicitContentFilterLevel", "MFALevel", "NSFWLevel", "PremiumType",
44
+ "Permissions", "GatewayCloseCode",
45
+ ]