Content-Length: 1226571 | pFad | http://github.com/interactions-py/interactions.py/commit/3b7b2bc01b57be76f2a134af1a546b2923adf70d

9F ci: correct from checks. · interactions-py/interactions.py@3b7b2bc · GitHub
Skip to content

Commit 3b7b2bc

Browse files
ci: correct from checks.
1 parent d2dc154 commit 3b7b2bc

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

55 files changed

+584
-585
lines changed

Diff for: interactions/__init__.py

+118-118
Large diffs are not rendered by default.

Diff for: interactions/api/events/__init__.py

+5-5
Original file line numberDiff line numberDiff line change
@@ -101,14 +101,13 @@
101101
from .base import BaseEvent, GuildEvent, RawGatewayEvent
102102

103103
__all__ = (
104-
"processors",
105104
"ApplicationCommandPermissionsUpdate",
106-
"AutocompleteCompletion",
107-
"AutocompleteError",
108105
"AutoModCreated",
109106
"AutoModDeleted",
110107
"AutoModExec",
111108
"AutoModUpdated",
109+
"AutocompleteCompletion",
110+
"AutocompleteError",
112111
"BanCreate",
113112
"BanRemove",
114113
"BaseEvent",
@@ -141,8 +140,8 @@
141140
"GuildLeft",
142141
"GuildMembersChunk",
143142
"GuildScheduledEventCreate",
144-
"GuildScheduledEventUpdate",
145143
"GuildScheduledEventDelete",
144+
"GuildScheduledEventUpdate",
146145
"GuildScheduledEventUserAdd",
147146
"GuildScheduledEventUserRemove",
148147
"GuildStickersUpdate",
@@ -188,8 +187,8 @@
188187
"ThreadCreate",
189188
"ThreadDelete",
190189
"ThreadListSync",
191-
"ThreadMembersUpdate",
192190
"ThreadMemberUpdate",
191+
"ThreadMembersUpdate",
193192
"ThreadUpdate",
194193
"TypingStart",
195194
"VoiceStateUpdate",
@@ -200,4 +199,5 @@
200199
"VoiceUserMute",
201200
"WebhooksUpdate",
202201
"WebsocketReady",
202+
"processors",
203203
)

Diff for: interactions/api/events/discord.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -47,17 +47,17 @@ async def an_event_handler(event: ChannelCreate):
4747
"EntitlementDelete",
4848
"EntitlementUpdate",
4949
"GuildAuditLogEntryCreate",
50+
"GuildAvailable",
5051
"GuildEmojisUpdate",
5152
"GuildJoin",
5253
"GuildLeft",
5354
"GuildMembersChunk",
5455
"GuildScheduledEventCreate",
55-
"GuildScheduledEventUpdate",
5656
"GuildScheduledEventDelete",
57+
"GuildScheduledEventUpdate",
5758
"GuildScheduledEventUserAdd",
5859
"GuildScheduledEventUserRemove",
5960
"GuildStickersUpdate",
60-
"GuildAvailable",
6161
"GuildUnavailable",
6262
"GuildUpdate",
6363
"IntegrationCreate",
@@ -90,8 +90,8 @@ async def an_event_handler(event: ChannelCreate):
9090
"ThreadCreate",
9191
"ThreadDelete",
9292
"ThreadListSync",
93-
"ThreadMembersUpdate",
9493
"ThreadMemberUpdate",
94+
"ThreadMembersUpdate",
9595
"ThreadUpdate",
9696
"TypingStart",
9797
"VoiceStateUpdate",

Diff for: interactions/api/events/internal.py

+14-14
Original file line numberDiff line numberDiff line change
@@ -33,31 +33,31 @@ async def an_event_handler(event: ChannelCreate):
3333
from interactions import Extension, BaseCommand, Listener
3434

3535
__all__ = (
36+
"AutocompleteCompletion",
37+
"AutocompleteError",
3638
"ButtonPressed",
39+
"CallbackAdded",
40+
"CommandCompletion",
41+
"CommandError",
3742
"Component",
43+
"ComponentCompletion",
44+
"ComponentError",
3845
"Connect",
3946
"Disconnect",
4047
"Error",
41-
"ShardConnect",
42-
"ShardDisconnect",
48+
"ExtensionCommandParse",
49+
"ExtensionLoad",
50+
"ExtensionUnload",
4351
"Login",
52+
"ModalCompletion",
53+
"ModalError",
4454
"Ready",
4555
"Resume",
4656
"Select",
57+
"ShardConnect",
58+
"ShardDisconnect",
4759
"Startup",
4860
"WebsocketReady",
49-
"CommandError",
50-
"ComponentError",
51-
"AutocompleteError",
52-
"ModalError",
53-
"CommandCompletion",
54-
"ComponentCompletion",
55-
"AutocompleteCompletion",
56-
"ModalCompletion",
57-
"ExtensionLoad",
58-
"ExtensionUnload",
59-
"ExtensionCommandParse",
60-
"CallbackAdded",
6161
)
6262

6363

Diff for: interactions/api/events/processors/__init__.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -15,19 +15,19 @@
1515
from .entitlement_events import EntitlementEvents
1616

1717
__all__ = (
18+
"AutoModEvents",
1819
"ChannelEvents",
20+
"EntitlementEvents",
1921
"GuildEvents",
2022
"IntegrationEvents",
2123
"MemberEvents",
2224
"MessageEvents",
25+
"Processor",
2326
"ReactionEvents",
2427
"RoleEvents",
2528
"ScheduledEvents",
2629
"StageEvents",
2730
"ThreadEvents",
2831
"UserEvents",
2932
"VoiceEvents",
30-
"Processor",
31-
"AutoModEvents",
32-
"EntitlementEvents",
3333
)

Diff for: interactions/api/events/processors/_template.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
from interactions.client.smart_cache import GlobalCache
1111
from interactions.api.events.internal import BaseEvent
1212

13-
__all__ = ("Processor", "EventMixinTemplate")
13+
__all__ = ("EventMixinTemplate", "Processor")
1414

1515

1616
class Processor:

Diff for: interactions/api/http/route.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
if TYPE_CHECKING:
77
from interactions.models.discord.snowflake import Snowflake_Type
88

9-
__all__ = ("Route", "PAYLOAD_TYPE")
9+
__all__ = ("PAYLOAD_TYPE", "Route")
1010

1111
PAYLOAD_TYPE = dict[str, int | str | bool | list | None]
1212

Diff for: interactions/api/voice/audio.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
from pathlib import Path
88
from typing import Union, Optional, TYPE_CHECKING
99

10-
__all__ = ("AudioBuffer", "BaseAudio", "Audio", "AudioVolume", "RawInputAudio")
10+
__all__ = ("Audio", "AudioBuffer", "AudioVolume", "BaseAudio", "RawInputAudio")
1111

1212
from interactions.client.const import get_logger
1313
from interactions.api.voice.opus import Encoder

Diff for: interactions/api/voice/opus.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
import attr
1212

13-
__all__ = ["Encoder", "Decoder"]
13+
__all__ = ["Decoder", "Encoder"]
1414

1515
from interactions.client.const import MISSING, get_logger
1616

Diff for: interactions/client/__init__.py

+28-28
Original file line numberDiff line numberDiff line change
@@ -43,45 +43,45 @@
4343
from . import utils
4444

4545
__all__ = (
46-
"__version__",
47-
"__repo_url__",
48-
"__py_version__",
49-
"__api_version__",
50-
"get_logger",
51-
"logger_name",
52-
"kwarg_spam",
53-
"DISCORD_EPOCH",
5446
"ACTION_ROW_MAX_ITEMS",
55-
"SELECTS_MAX_OPTIONS",
56-
"SELECT_MAX_NAME_LENGTH",
5747
"CONTEXT_MENU_NAME_LENGTH",
58-
"SLASH_CMD_NAME_LENGTH",
59-
"SLASH_CMD_MAX_DESC_LENGTH",
60-
"SLASH_CMD_MAX_OPTIONS",
61-
"SLASH_OPTION_NAME_LENGTH",
62-
"EMBED_MAX_NAME_LENGTH",
48+
"DISCORD_EPOCH",
49+
"EMBED_FIELD_VALUE_LENGTH",
6350
"EMBED_MAX_DESC_LENGTH",
6451
"EMBED_MAX_FIELDS",
52+
"EMBED_MAX_NAME_LENGTH",
6553
"EMBED_TOTAL_MAX",
66-
"EMBED_FIELD_VALUE_LENGTH",
67-
"POLL_MAX_ANSWERS",
68-
"POLL_MAX_DURATION_HOURS",
69-
"Singleton",
70-
"Sentinel",
71-
"GlobalScope",
72-
"Missing",
73-
"MentionPrefix",
7454
"GLOBAL_SCOPE",
75-
"MISSING",
7655
"MENTION_PREFIX",
56+
"MISSING",
57+
"POLL_MAX_ANSWERS",
58+
"POLL_MAX_DURATION_HOURS",
7759
"PREMIUM_GUILD_LIMITS",
60+
"SELECTS_MAX_OPTIONS",
61+
"SELECT_MAX_NAME_LENGTH",
62+
"SLASH_CMD_MAX_DESC_LENGTH",
63+
"SLASH_CMD_MAX_OPTIONS",
64+
"SLASH_CMD_NAME_LENGTH",
65+
"SLASH_OPTION_NAME_LENGTH",
7866
"Absent",
67+
"AutoShardedClient",
68+
"Client",
69+
"ClientT",
70+
"GlobalScope",
71+
"MentionPrefix",
72+
"Missing",
73+
"Sentinel",
74+
"Singleton",
7975
"T",
8076
"T_co",
81-
"ClientT",
82-
"Client",
83-
"AutoShardedClient",
84-
"smart_cache",
77+
"__api_version__",
78+
"__py_version__",
79+
"__repo_url__",
80+
"__version__",
8581
"errors",
82+
"get_logger",
83+
"kwarg_spam",
84+
"logger_name",
85+
"smart_cache",
8686
"utils",
8787
)

Diff for: interactions/client/const.py

+29-29
Original file line numberDiff line numberDiff line change
@@ -47,47 +47,47 @@
4747
from typing import TypeVar, Union, Callable, Coroutine, ClassVar, TYPE_CHECKING
4848

4949
__all__ = (
50-
"__version__",
51-
"__repo_url__",
52-
"__py_version__",
53-
"__api_version__",
54-
"get_logger",
55-
"logger_name",
56-
"kwarg_spam",
57-
"DISCORD_EPOCH",
5850
"ACTION_ROW_MAX_ITEMS",
59-
"SELECTS_MAX_OPTIONS",
60-
"SELECT_MAX_NAME_LENGTH",
51+
"CLIENT_FEATURE_FLAGS",
6152
"CONTEXT_MENU_NAME_LENGTH",
62-
"SLASH_CMD_NAME_LENGTH",
63-
"SLASH_CMD_MAX_DESC_LENGTH",
64-
"SLASH_CMD_MAX_OPTIONS",
65-
"SLASH_OPTION_NAME_LENGTH",
66-
"EMBED_MAX_NAME_LENGTH",
53+
"DISCORD_EPOCH",
54+
"EMBED_FIELD_VALUE_LENGTH",
6755
"EMBED_MAX_DESC_LENGTH",
6856
"EMBED_MAX_FIELDS",
57+
"EMBED_MAX_NAME_LENGTH",
6958
"EMBED_TOTAL_MAX",
70-
"EMBED_FIELD_VALUE_LENGTH",
71-
"Singleton",
72-
"Sentinel",
73-
"GlobalScope",
74-
"Missing",
75-
"MentionPrefix",
7659
"GLOBAL_SCOPE",
77-
"MISSING",
60+
"LIB_PATH",
7861
"MENTION_PREFIX",
62+
"MISSING",
63+
"NON_RESUMABLE_WEBSOCKET_CLOSE_CODES",
64+
"POLL_MAX_ANSWERS",
65+
"POLL_MAX_DURATION_HOURS",
7966
"PREMIUM_GUILD_LIMITS",
67+
"RECOVERABLE_WEBSOCKET_CLOSE_CODES",
68+
"SELECTS_MAX_OPTIONS",
69+
"SELECT_MAX_NAME_LENGTH",
70+
"SLASH_CMD_MAX_DESC_LENGTH",
71+
"SLASH_CMD_MAX_OPTIONS",
72+
"SLASH_CMD_NAME_LENGTH",
73+
"SLASH_OPTION_NAME_LENGTH",
8074
"Absent",
75+
"ClientT",
76+
"GlobalScope",
77+
"MentionPrefix",
78+
"Missing",
79+
"Sentinel",
80+
"Singleton",
8181
"T",
8282
"T_co",
83-
"ClientT",
84-
"LIB_PATH",
85-
"RECOVERABLE_WEBSOCKET_CLOSE_CODES",
86-
"NON_RESUMABLE_WEBSOCKET_CLOSE_CODES",
87-
"CLIENT_FEATURE_FLAGS",
83+
"__api_version__",
84+
"__py_version__",
85+
"__repo_url__",
86+
"__version__",
87+
"get_logger",
8888
"has_client_feature",
89-
"POLL_MAX_ANSWERS",
90-
"POLL_MAX_DURATION_HOURS",
89+
"kwarg_spam",
90+
"logger_name",
9191
)
9292

9393
_ver_info = sys.version_info

Diff for: interactions/client/errors.py

+25-25
Original file line numberDiff line numberDiff line change
@@ -12,41 +12,41 @@
1212
from interactions.models.discord.snowflake import Snowflake_Type
1313

1414
__all__ = (
15-
"LibraryException",
15+
"AlreadyDeferred",
16+
"AlreadyResponded",
17+
"BadArgument",
18+
"BadRequest",
1619
"BotException",
17-
"GatewayNotFound",
18-
"LoginError",
19-
"HTTPException",
20+
"CommandCheckFailure",
21+
"CommandException",
22+
"CommandOnCooldown",
2023
"DiscordError",
21-
"BadRequest",
22-
"Forbidden",
23-
"NotFound",
24-
"RateLimited",
25-
"TooManyChanges",
26-
"WebSocketClosed",
27-
"VoiceWebSocketClosed",
28-
"WebSocketRestart",
24+
"EmptyMessageException",
25+
"EphemeralEditException",
26+
"EventLocationNotProvided",
2927
"ExtensionException",
30-
"ExtensionNotFound",
3128
"ExtensionLoadException",
32-
"CommandException",
33-
"CommandOnCooldown",
29+
"ExtensionNotFound",
30+
"Forbidden",
31+
"ForeignWebhookException",
32+
"GatewayNotFound",
33+
"HTTPException",
34+
"InteractionException",
35+
"InteractionMissingAccess",
36+
"LibraryException",
37+
"LoginError",
3438
"MaxConcurrencyReached",
35-
"CommandCheckFailure",
36-
"BadArgument",
3739
"MessageException",
38-
"EmptyMessageException",
39-
"EphemeralEditException",
40+
"NotFound",
41+
"RateLimited",
4042
"ThreadException",
4143
"ThreadOutsideOfGuild",
42-
"InteractionException",
43-
"InteractionMissingAccess",
44-
"AlreadyDeferred",
45-
"AlreadyResponded",
46-
"ForeignWebhookException",
47-
"EventLocationNotProvided",
44+
"TooManyChanges",
4845
"VoiceAlreadyConnected",
4946
"VoiceConnectionTimeout",
47+
"VoiceWebSocketClosed",
48+
"WebSocketClosed",
49+
"WebSocketRestart",
5050
)
5151

5252

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/interactions-py/interactions.py/commit/3b7b2bc01b57be76f2a134af1a546b2923adf70d

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy