From a135873590b426c566b9d329daf0066fd5426dc3 Mon Sep 17 00:00:00 2001 From: Marko Kovačević Date: Wed, 3 Oct 2018 19:36:12 +0200 Subject: Fix improper docstrings and comments. --- bot/bot.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'bot/bot.py') diff --git a/bot/bot.py b/bot/bot.py index 177fe1dc..a67fcdab 100644 --- a/bot/bot.py +++ b/bot/bot.py @@ -3,9 +3,10 @@ from sys import stderr from traceback import print_exc from os import environ - from discord.ext import commands + +HACKTOBERBOT_TOKEN = environ.get('HACKTOBERBOT_TOKEN') bot = commands.Bot(command_prefix=commands.when_mentioned_or('!')) if __name__ == '__main__': @@ -18,4 +19,4 @@ if __name__ == '__main__': print(f'Failed to load extension {extension}.', file=stderr) print_exc() -bot.run(environ.get('TOKEN')) +bot.run(HACKTOBERBOT_TOKEN) -- cgit v1.2.3