mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2025-12-22 08:01:06 +00:00
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.
19 lines
396 B
Python
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()
|