Files
Aurora.3/bot/borealisbot.py
skull132 28c590a2b7 DiscordBot
Credit to N3XIS from VGStation13 for some of the methods and functions used within this bot's code! Without'em, this wouldn't really even exist.
2016-02-16 23:34:48 +02:00

19 lines
396 B
Python

import borealis.bot as borealisbot
import logging
import os
def main():
logging.basicConfig(format='%(asctime)s: %(levelname)-8s - %(message)s', datefmt='%m/%d/%Y %I:%M:%S', level=logging.INFO)
config_path = 'config.yml'
while True:
try:
bot = borealisbot.DiscordBot(config_path)
bot.run()
except Exception as e:
logging.critical(e)
break
if __name__ == '__main__':
main()