|
@ -13,11 +13,13 @@ from decouple import config |
|
|
bot = commands.Bot(command_prefix=".", intents=discord.Intents.default(), |
|
|
bot = commands.Bot(command_prefix=".", intents=discord.Intents.default(), |
|
|
case_insensitive=True) |
|
|
case_insensitive=True) |
|
|
|
|
|
|
|
|
# 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 ^^ |
|
|
|
|
|
|
|
|
""" |
|
|
|
|
|
To add your token create a .env file in the top directory and add the following contents: |
|
|
|
|
|
|
|
|
|
|
|
BOT_TOKEN={Paste your token here} |
|
|
|
|
|
|
|
|
|
|
|
""" |
|
|
|
|
|
|
|
|
token = config("BOT_TOKEN") |
|
|
token = config("BOT_TOKEN") |
|
|
|
|
|
|
|
|
logging.basicConfig(filename='console.log', |
|
|
logging.basicConfig(filename='console.log', |
|
|