diff options
author | 2021-06-25 16:57:31 +0200 | |
---|---|---|
committer | 2021-06-25 16:57:31 +0200 | |
commit | 58baaa3e40dafc28064bd234f7b68c064632e8d4 (patch) | |
tree | 088bdd149b8da99a9fa2dfe2b37de5a09ed9a6b4 | |
parent | Remove unused variable (TMDB_TOKEN) (diff) |
Update scarymovie.py to use the constants module
-rw-r--r-- | bot/exts/halloween/scarymovie.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/bot/exts/halloween/scarymovie.py b/bot/exts/halloween/scarymovie.py index 72f021cb..4ba6d57a 100644 --- a/bot/exts/halloween/scarymovie.py +++ b/bot/exts/halloween/scarymovie.py @@ -1,16 +1,15 @@ import logging import random -from os import environ from discord import Embed from discord.ext import commands from bot.bot import Bot - +from bot.constants import Tokens log = logging.getLogger(__name__) -TMDB_API_KEY = environ.get("TMDB_API_KEY") +TMDB_API_KEY = Tokens.tmdb class ScaryMovie(commands.Cog): |