From 73f953eac53f9a8741b1968075ad847b54c02bbb Mon Sep 17 00:00:00 2001 From: MrKomodoDragon <74436682+MrKomodoDragon@users.noreply.github.com> Date: Mon, 23 Aug 2021 02:25:21 -0700 Subject: [PATCH] Add missing return type to utils.oauth_url --- discord/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/discord/utils.py b/discord/utils.py index 98108a0bb..044b2c61d 100644 --- a/discord/utils.py +++ b/discord/utils.py @@ -267,7 +267,7 @@ def oauth_url( redirect_uri: str = MISSING, scopes: Iterable[str] = MISSING, disable_guild_select: bool = False, -): +) -> str: """A helper function that returns the OAuth2 URL for inviting the bot into guilds.