fulvia/run.py

17 lines
283 B
Python
Raw Normal View History

2018-03-16 03:13:43 -04:00
#!/usr/bin/env python3
"""
Initializes the bot.
"""
import os
from twisted.internet import reactor
2019-10-08 12:39:13 -04:00
import config
2018-03-16 03:13:43 -04:00
from bot import FulviaFactory
if __name__ == "__main__":
2019-10-08 12:39:13 -04:00
server = config.server
port = config.port
reactor.connectTCP(server, port, FulviaFactory())
2018-03-16 03:13:43 -04:00
reactor.run()