2024-01-22 19:36:59 +00:00
|
|
|
import logging
|
|
|
|
|
2024-01-23 20:05:50 +00:00
|
|
|
from src.bot.config.configurator import Settings
|
2024-01-22 19:36:59 +00:00
|
|
|
from src.bot.discord.bot import NucuBot
|
|
|
|
|
|
|
|
|
2024-01-20 20:33:34 +00:00
|
|
|
def main():
|
2024-01-23 20:05:50 +00:00
|
|
|
settings = Settings()
|
|
|
|
bot = NucuBot.create(command_prefix=settings.discord.command_prefix)
|
|
|
|
bot.run(settings.discord.token)
|
2024-01-20 20:33:34 +00:00
|
|
|
|
|
|
|
|
|
|
|
if __name__ == "__main__":
|
2024-01-22 19:36:59 +00:00
|
|
|
logging.basicConfig(level=logging.INFO)
|
2024-01-20 20:33:34 +00:00
|
|
|
main()
|