add configuration for the bot command prefix

This commit is contained in:
Brian S. Stephan 2018-01-17 10:26:52 -06:00
parent 46754d6979
commit 69906aa474
2 changed files with 3 additions and 1 deletions

View File

@ -14,4 +14,5 @@ class Hitomi(commands.Bot):
self.on_message_handlers = []
hitomi = Hitomi(command_prefix='!', description=BOT_DESCRIPTION, max_messages=settings.DISCORD_BOT_MAX_MESSAGES)
hitomi = Hitomi(command_prefix=settings.DISCORD_BOT_COMMAND_PREFIX, description=BOT_DESCRIPTION,
max_messages=settings.DISCORD_BOT_MAX_MESSAGES)

View File

@ -131,6 +131,7 @@ STATIC_URL = '/static/'
DISCORD_BOT_TOKEN = 'token'
DISCORD_BOX_COMMAND_PREFIX = '!'
DISCORD_BOT_MAX_MESSAGES = 5000
LOGGER_BASE_DIR = './logs'
WEATHER_WEATHER_UNDERGROUND_API_KEY = 'key'