diff options
| author | 2025-11-09 23:45:03 +0000 | |
|---|---|---|
| committer | 2025-11-09 23:45:03 +0000 | |
| commit | 31a003bcdf048f0eef87d7688c98f8981c83fb88 (patch) | |
| tree | ce2f624f75d5c634b0bb5f637d8d62b04df0ba29 | |
| 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 4bb7175a..807fd666 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( |