From ac2ce372bdfac23a1cbb038306e923b7981b0452 Mon Sep 17 00:00:00 2001 From: Joe Banks Date: Sun, 9 Nov 2025 23:19:30 +0000 Subject: Add source cog to development bot --- dev/bot/__main__.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dev/bot/__main__.py b/dev/bot/__main__.py index 43c4dbd5..e8522533 100644 --- a/dev/bot/__main__.py +++ b/dev/bot/__main__.py @@ -7,6 +7,7 @@ import dotenv from discord.ext import commands import pydis_core +from pydis_core.exts.source import SourceCode from . import Bot @@ -30,6 +31,7 @@ async def main() -> None: """Run the bot.""" bot.http_session = aiohttp.ClientSession() async with bot: + await bot.add_cog(SourceCode(bot, github_repo="https://github.com/python-discord/bot-core")) await bot.start(os.getenv("BOT_TOKEN")) -- cgit v1.2.3