diff options
| author | 2023-05-06 16:59:22 +0100 | |
|---|---|---|
| committer | 2023-05-06 16:59:22 +0100 | |
| commit | 5bdd195aefc1b3af562e336dd9edeb260002e085 (patch) | |
| tree | 6f69e08f8664ef2b4274fd5ce22e25f54e7ac0cb | |
| parent | log warning in Reddit Cog (diff) | |
use Tokens.Youtube in the Snakes Cog
| -rw-r--r-- | bot/exts/fun/snakes/__init__.py | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/bot/exts/fun/snakes/__init__.py b/bot/exts/fun/snakes/__init__.py index 37d0e255..be71ac44 100644 --- a/bot/exts/fun/snakes/__init__.py +++ b/bot/exts/fun/snakes/__init__.py @@ -9,6 +9,6 @@ log = logging.getLogger(__name__)  async def setup(bot: Bot) -> None:      """Load the Snakes Cog.""" -    if not Tokens.giphy: -        log.warning("No Youtube token. All youtube related commands in Snakes cog won't work.") +    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)) | 
