import config import hoshino import asyncio bot = hoshino.init(config) app = bot.asgi if __name__ == '__main__': bot.run(use_reloader=False, loop=asyncio.get_event_loop(), debug=False)
import hoshino import asyncio bot = hoshino.init() app = bot.asgi if __name__ == '__main__': bot.run(use_reloader=False, loop=asyncio.get_event_loop())
import nonebot from nonebot.adapters.cqhttp import Bot nonebot.init(debug=True) nonebot.get_driver().register_adapter('cqhttp',Bot) nonebot.load_plugin('nonetrip') import hoshino hoshino.init() nonebot.run(port=2333)