From b7663ae097236441c71bfd28fe02090266946e42 Mon Sep 17 00:00:00 2001 From: Anson Date: Wed, 23 Jan 2019 16:24:45 -0700 Subject: [PATCH] credentials.py isno longer necessary since only one token is used --- credentials.py | 3 --- stockBot.py | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) delete mode 100644 credentials.py diff --git a/credentials.py b/credentials.py deleted file mode 100644 index 47a19e4..0000000 --- a/credentials.py +++ /dev/null @@ -1,3 +0,0 @@ -secrets = { - 'TELEGRAM_TOKEN': "TELEGRAM BOT TOKEN HERE" -} diff --git a/stockBot.py b/stockBot.py index 7ef589a..0db6711 100644 --- a/stockBot.py +++ b/stockBot.py @@ -10,7 +10,7 @@ from telegram.ext import CommandHandler, Filters, MessageHandler, Updater import credentials import tickerInfo -TOKEN = credentials.secrets['TELEGRAM_TOKEN'] +TOKEN = "TELEGRAM BOT TOKEN HERE" # Enable logging logging.basicConfig(format='%(asctime)s - %(name)s - %(levelname)s - %(message)s',