From 31a003bcdf048f0eef87d7688c98f8981c83fb88 Mon Sep 17 00:00:00 2001 From: Joe Banks Date: Sun, 9 Nov 2025 23:45:03 +0000 Subject: Trim trailing / from GitHub Repo --- pydis_core/exts/source.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pydis_core') 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( -- cgit v1.2.3