Skip to content

Instantly share code, notes, and snippets.

View TWT233's full-sized avatar
🐴
running

Housa Hitomi TWT233

🐴
running
View GitHub Profile
from khl import Bot, Message
from khl.card import CardMessage, Card, Module, Element, ClickTypes
from khl.command import Command
bot1 = Bot('xxxxxx') # 不再需要 token=
bot2 = Bot('xxxxxx') # async 版的 Bot.run,支持一个文件运行多个 Bot
@bot1.task.add_interval(seconds=2)
async def go():