From 76cf96491bb981e792c76771523ae5b9d1d5198f Mon Sep 17 00:00:00 2001 From: Sheldon Lee Date: Wed, 2 Sep 2020 18:20:52 +0800 Subject: [PATCH] Prints out key for debug purposes. --- bot.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/bot.py b/bot.py index c100f58..b33c5fb 100644 --- a/bot.py +++ b/bot.py @@ -57,9 +57,13 @@ class Bot(discord.Client): elif message.content.startswith("$aquatic"): await message.channel.send(randomAquatic()) +# +# Ensure token on first line, with no whitespaces at the end/beginning +# token_file = open("token.txt", "r") token = token_file.readline() token_file.close() +print("\'"+token+"\'"); bot = Bot() bot.run(token);