diff options
author | 2025-04-12 14:06:59 +0400 | |
---|---|---|
committer | 2025-04-12 14:06:59 +0400 | |
commit | 90849917fad3c618ef27c78c4f8fe1b84bd6b9be (patch) | |
tree | 09c8b5ca61cdb25f81baa77a25c25f83f4e3a8e8 | |
parent | CodeSnippets: Add support for paste.pythondiscord.com (diff) |
Fix return type annotation
Co-authored-by: Anand <[email protected]>
-rw-r--r-- | bot/exts/info/code_snippets.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/exts/info/code_snippets.py b/bot/exts/info/code_snippets.py index 0e80e6036..eba15e825 100644 --- a/bot/exts/info/code_snippets.py +++ b/bot/exts/info/code_snippets.py @@ -178,7 +178,7 @@ class CodeSnippets(Cog): ) return self._snippet_to_codeblock(file_contents, file_path, start_line, end_line) - async def _fetch_pastebin_snippets(self, paste_id: str, selections: str) -> str: + async def _fetch_pastebin_snippets(self, paste_id: str, selections: str) -> list[str]: """Fetches snippets from paste.pythondiscord.com.""" paste_data = await self._fetch_response( f"https://paste.pythondiscord.com/api/v1/paste/{paste_id}", |