Skip to content

Commit 901838b

Browse files
committed
Add source cog to development bot
1 parent 7aeb651 commit 901838b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

dev/bot/__main__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
from discord.ext import commands
88

99
import pydis_core
10+
from pydis_core.exts.source import SourceCode
1011

1112
from . import Bot
1213

@@ -30,6 +31,7 @@ async def main() -> None:
3031
"""Run the bot."""
3132
bot.http_session = aiohttp.ClientSession()
3233
async with bot:
34+
await bot.add_cog(SourceCode(bot, github_repo="https://github.com/python-discord/bot-core"))
3335
await bot.start(os.getenv("BOT_TOKEN"))
3436

3537

0 commit comments

Comments
 (0)