-
Notifications
You must be signed in to change notification settings - Fork 51
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
feat(satori): drop legacy encoder.guildId #216
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
❗ Your organization needs to install the Codecov GitHub app to enable full functionality. Additional details and impacted files@@ Coverage Diff @@
## master #216 +/- ##
=======================================
Coverage 86.08% 86.08%
=======================================
Files 1 1
Lines 503 503
Branches 111 111
=======================================
Hits 433 433
Misses 70 70 ☔ View full report in Codecov by Sentry. |
`<t:${Math.ceil(quote.timestamp / 1000)}:R> [[ ↑ ]](https://discord.com/channels/${this.guildId}/${channelId}/${replyId})`, | ||
`<t:${Math.ceil(quote.timestamp / 1000)}:R> [[ ↑ ]](https://discord.com/channels/${guildId}/${channelId}/${replyId})`, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
这里需要同时有 guildId
和 channelId
才行吗?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
是的
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
那这里大概可以单独给 quote 加个属性,用来填充或覆盖 guildId
和 channelId
?直接调用 sendMessage 的时候没有接收的 session
implements and supersedes #196.
Affected adapters:
cc @ilharp @XxLittleCxX