Skip to content
Discussion options

You must be logged in to vote

在定时任务中直接调用api进行发送

例如

bot = nonebot.get_bot()
await bot.send_private_msg(message=xxx)

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Viottery
Comment options

Answer selected by stdrc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
问答
Labels
None yet
2 participants