blob: 0af8ece296877034a47504e2250cd2e68f01c870 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
from pydis_core.utils.logging import get_logger
from bot.bot import Bot
from bot.constants import Tokens
from bot.exts.fun.snakes._snakes_cog import Snakes
log = get_logger(__name__)
async def setup(bot: Bot) -> None:
"""Load the Snakes Cog."""
if not Tokens.youtube:
log.warning("No Youtube token. All YouTube related commands in Snakes cog won't work.")
await bot.add_cog(Snakes(bot))
|