1
0
mirror of https://gitlab.com/simple-stock-bots/simple-discord-stock-bot.git synced 2025-06-16 07:16:41 +00:00

leaked an api key and had wrong intents

This commit is contained in:
Anson Biggs 2021-02-11 22:27:44 -07:00
parent c3735f3945
commit fb13517a7d

6
bot.py
View File

@ -9,7 +9,7 @@ from discord.ext import commands
from functions import Symbol
DISCORD_TOKEN = "NjYyNzcyOTU5MzMyNTMyMjg2.Xg-1aw.Au28SCJJE3HLy23b3adREtLXFiY"
DISCORD_TOKEN = os.environ["DISCORD"]
try:
IEX_TOKEN = os.environ["IEX"]
@ -21,12 +21,10 @@ s = Symbol(IEX_TOKEN)
client = discord.Client()
intents = discord.Intents.default()
intents.members = True
bot = commands.Bot(
command_prefix="/",
description=s.help_text,
intents=intents,
)