Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

✨ 为 Webhook 中的 source_guild 和 source_channel 添加单独的类 #30

Merged
merged 5 commits into from
Jun 21, 2024

Conversation

Autuamn
Copy link
Contributor

@Autuamn Autuamn commented May 21, 2024

根据官方文档的 Example 和我收到的数据添加

不确定是否会有其他参数

see https://discord.com/developers/docs/resources/webhook#webhook-object-example-channel-follower-webhook

close #29

thanks, shoucandanghehe

Co-authored-by: 呵呵です <[email protected]>
@CMHopeSunshine CMHopeSunshine marked this pull request as ready for review June 21, 2024 02:23
@CMHopeSunshine CMHopeSunshine merged commit 6200e83 into nonebot:master Jun 21, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

使用 bot.get_channel_webhooks() 时,遇到当 Channel Follower Webhook,pydantic 抛出 ValidationError
3 participants