nonebot2/docs/guide/code/awesome-bot-1/bot.py
2018-12-27 20:23:45 +08:00

9 lines
136 B
Python

import nonebot
import config
if __name__ == '__main__':
nonebot.init(config)
nonebot.load_builtin_plugins()
nonebot.run()