config initialization
This commit is contained in:
parent
c4e97476f3
commit
542ccee7af
|
|
@ -73,9 +73,6 @@ class DiscordBotPlugin(PHALPlugin):
|
|||
config_json = json.dumps(config)
|
||||
LOG.info(f"Configuration updated: %s", config_json)
|
||||
|
||||
if not configuration_host:
|
||||
uninitialized_settings.append("host")
|
||||
|
||||
if not configuration_api_key:
|
||||
uninitialized_settings.append("api_key")
|
||||
|
||||
|
|
@ -92,6 +89,7 @@ class DiscordBotPlugin(PHALPlugin):
|
|||
|
||||
def init_bot(self):
|
||||
# Start the Discord bot
|
||||
LOG.info("Starting the bot")
|
||||
self.bot.run(TOKEN)
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue