diff options
| author | 2025-11-09 23:19:30 +0000 | |
|---|---|---|
| committer | 2025-11-09 23:23:11 +0000 | |
| commit | ac2ce372bdfac23a1cbb038306e923b7981b0452 (patch) | |
| tree | 4794a1bfc3c973be57de4a758c46f1aa6570fc21 | |
| parent | Add github icon to source footer (diff) | |
Add source cog to development bot
| -rw-r--r-- | dev/bot/__main__.py | 2 |
1 files changed, 2 insertions, 0 deletions
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")) |