15 lines
338 B
Python
15 lines
338 B
Python
import logging
|
|
|
|
from src.bot.config.configurator import Settings
|
|
from src.bot.discord.bot import NucuBot
|
|
|
|
|
|
def main():
|
|
settings = Settings()
|
|
bot = NucuBot.create(command_prefix=settings.discord.command_prefix)
|
|
bot.run(settings.discord.token)
|
|
|
|
|
|
if __name__ == "__main__":
|
|
logging.basicConfig(level=logging.INFO)
|
|
main()
|