diff options
| author | 2025-11-09 23:45:03 +0000 | |
|---|---|---|
| committer | 2025-11-10 23:19:27 +0000 | |
| commit | a3d35acf6bb92b9f2507e213c1f9a8f3e17ffdb3 (patch) | |
| tree | 428f549d8e220e8b6c794869feb0232b861e34da | |
| parent | Add changelog entry for SourceCode functionality (diff) | |
Trim trailing / from GitHub Repo
| -rw-r--r-- | pydis_core/exts/source.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pydis_core/exts/source.py b/pydis_core/exts/source.py index 7543d2fe..95f3e967 100644 --- a/pydis_core/exts/source.py +++ b/pydis_core/exts/source.py @@ -56,7 +56,7 @@ class SourceCode(commands.Cog, description="Displays information about the bot's def __init__(self, bot: "Bot", github_repo: str) -> None: self.bot = bot - self.github_repo = github_repo + self.github_repo = github_repo.rstrip("/") @commands.command(name="source", aliases=("src",)) async def source_command( |