Skip to content

Commit

Permalink
Moved Params docstring bellow warnings and Roughly equivalent to
Browse files Browse the repository at this point in the history
Signed-off-by: Nerd Bear <[email protected]>
  • Loading branch information
nerd-bear authored Nov 14, 2024
1 parent b688343 commit 87d1c85
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions disnake/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -1257,11 +1257,6 @@ def run(self, *args: Any, **kwargs: Any) -> None:
If you want more control over the event loop then this
function should not be used. Use :meth:`start` coroutine
or :meth:`connect` + :meth:`login`.
Parameters
----------
token: :class:`str`
The discord token of the bot that is being ran.
Roughly Equivalent to: ::
Expand All @@ -1277,7 +1272,12 @@ def run(self, *args: Any, **kwargs: Any) -> None:
This function must be the last function to call due to the fact that it
is blocking. That means that registration of events or anything being
called after this function call will not execute until it returns.
called after this function call will not execute until it returns
Parameters
----------
token: :class:`str`
The discord token of the bot that is being ran.
"""
loop = self.loop

Expand Down

0 comments on commit 87d1c85

Please sign in to comment.