nxy/bot/__main__.py

9 lines
137 B
Python
Raw Normal View History

2017-05-15 22:26:10 +00:00
# -*- coding: utf-8 -*-
import sys
2017-08-22 15:43:48 +00:00
from bot import Bot
2017-05-15 22:26:10 +00:00
if __name__ == '__main__':
2017-08-22 15:43:48 +00:00
bot = Bot.from_json(*sys.argv[1:])
bot.run()