diff options
author | 2018-10-03 19:36:12 +0200 | |
---|---|---|
committer | 2018-10-03 19:36:12 +0200 | |
commit | a135873590b426c566b9d329daf0066fd5426dc3 (patch) | |
tree | cfeabb213862a417e386fd9a7c0c1b5b9bbd3454 /bot/bot.py | |
parent | Add some comments and docstrings documenting the code and replacing minor iss... (diff) |
Fix improper docstrings and comments.
Diffstat (limited to 'bot/bot.py')
-rw-r--r-- | bot/bot.py | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -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) |