Created
November 4, 2020 23:31
-
-
Save 100ze/b94d00e160e6fafc3a8d54ead6ec66fd to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# importando módulos | |
import os | |
from dotenv import load_dotenv | |
# importando a biblioteca Discord.py | |
import discord | |
# pegando o token salvo no arquivo .env | |
load_dotenv() | |
TOKEN = os.getenv('DISCORD_TOKEN') | |
# armazenando o objeto client em uma variável | |
client = discord.Client() | |
# mostrando que o objeto foi criado | |
print(client) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment