From fb13517a7d7edeefbd30d988aeede52d91fc5470 Mon Sep 17 00:00:00 2001 From: Anson Biggs Date: Thu, 11 Feb 2021 22:27:44 -0700 Subject: [PATCH] leaked an api key and had wrong intents --- bot.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/bot.py b/bot.py index 7e5fff1..2062971 100644 --- a/bot.py +++ b/bot.py @@ -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, )