Skip to content

Commit

Permalink
fix: Self-review fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
elenakrittik committed Nov 12, 2023
1 parent ebea051 commit f37594e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion disnake/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -353,7 +353,7 @@ def __init__(
except RuntimeError:
raise RuntimeError(
(
"`connector` was created outside of an asyncio loop consider moving bot class "
"`connector` was created outside of an asyncio loop; consider moving bot class "
"instantiation to an async main function and then manually asyncio.run it"
)
) from None
Expand Down
1 change: 1 addition & 0 deletions disnake/shard.py
Original file line number Diff line number Diff line change
Expand Up @@ -333,6 +333,7 @@ def __init__(
enable_debug_events: bool = False,
enable_gateway_error_handler: bool = True,
gateway_params: Optional[GatewayParams] = None,
connector: Optional[aiohttp.BaseConnector] = None,
proxy: Optional[str] = None,
proxy_auth: Optional[aiohttp.BasicAuth] = None,
assume_unsync_clock: bool = True,
Expand Down

0 comments on commit f37594e

Please sign in to comment.