nonebot2/docs/guide/code/awesome-bot-1/bot.py

9 lines
124 B
Python
Raw Normal View History

2018-08-17 00:12:07 +08:00
import none
2018-08-17 23:47:44 +08:00
import config
2018-08-17 00:12:07 +08:00
if __name__ == '__main__':
2018-08-17 23:47:44 +08:00
none.init(config)
2018-08-17 00:12:07 +08:00
none.load_builtin_plugins()
2018-08-17 23:47:44 +08:00
none.run()