From 179de79ee4fd63facd4adc9c2a9b4171c30adb67 Mon Sep 17 00:00:00 2001 From: Nerd Bear Date: Sat, 16 Nov 2024 13:40:32 +0000 Subject: [PATCH] docs: Add parameter info to disnake.ext.commands.Bot.run() docstring (#1240) Signed-off-by: Nerd Bear --- disnake/client.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/disnake/client.py b/disnake/client.py index 80b3d67c65..2c4e2c7da4 100644 --- a/disnake/client.py +++ b/disnake/client.py @@ -1272,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