diff --git a/bot.py b/bot.py index 087ef86..a962fc5 100644 --- a/bot.py +++ b/bot.py @@ -8,11 +8,17 @@ from discord.ext.commands import has_permissions, MissingPermissions import aiohttp import mimetypes import requests +from decouple import config bot = commands.Bot(command_prefix=".", intents=discord.Intents.default(), case_insensitive=True) -token = "insert bot token here!" +# To add your token create a .env file in the top directory and add the following contents: +# ```` +# BOT_TOKEN={Paste your token here} +# ```` +# Remember to remove the comment ^^ +token = config("BOT_TOKEN") logging.basicConfig(filename='console.log', level=logging.INFO,