diff options
| author | MrKomodoDragon <[email protected]> | 2021-08-23 02:25:21 -0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2021-08-23 05:25:21 -0400 |
| commit | 73f953eac53f9a8741b1968075ad847b54c02bbb (patch) | |
| tree | a4118876e07ee38ac62866838f8e834c73a928a1 /discord | |
| parent | Fix type for content param in HTTPClient.send_message (diff) | |
| download | discord.py-73f953eac53f9a8741b1968075ad847b54c02bbb.tar.xz discord.py-73f953eac53f9a8741b1968075ad847b54c02bbb.zip | |
Add missing return type to utils.oauth_url
Diffstat (limited to 'discord')
| -rw-r--r-- | discord/utils.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/discord/utils.py b/discord/utils.py index 98108a0b..044b2c61 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. |