We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
QGBot
channel
用于避免 bot 没有获取 guild 信息或 channel 信息而导致无法获取对应对象而无法发送消息的情况。
guild
比如
val bot: QGBot = ... val channel = bot.channel(channelId = 1234567.ID) // 直接获取 channel bot.sendTo(message, channelId = 1234567.ID) // 直接发送消息
这两种API可以 “绕过” 获取对象——也就是绕过获取频道/子频道详情而直接发送消息。
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
用于避免 bot 没有获取
guild
信息或channel
信息而导致无法获取对应对象而无法发送消息的情况。比如
这两种API可以 “绕过” 获取对象——也就是绕过获取频道/子频道详情而直接发送消息。
The text was updated successfully, but these errors were encountered: