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
現状wsモードのBOTはMESSAGE_CREATEDなどのコマンドを受信しws経由でメッセージを受け取ることができる(/bots/ws)が、メッセージの送信には別途HTTPリクエストを送る必要がある(POST /channels/{channelId}/messages)。
MESSAGE_CREATED
send-message:{content}:{channelId}:{embed}のようなコマンドでメッセージが送信できると追加でトークンヘッダの設定などを行わずにwsコネクション内でメッセージを送れるのでbotの実装が楽になる。
send-message:{content}:{channelId}:{embed}
メッセージの送信手段が2種類生えるのが少し気がかりくらい
The text was updated successfully, but these errors were encountered:
No branches or pull requests
現状wsモードのBOTは
MESSAGE_CREATED
などのコマンドを受信しws経由でメッセージを受け取ることができる(/bots/ws)が、メッセージの送信には別途HTTPリクエストを送る必要がある(POST /channels/{channelId}/messages)。send-message:{content}:{channelId}:{embed}
のようなコマンドでメッセージが送信できると追加でトークンヘッダの設定などを行わずにwsコネクション内でメッセージを送れるのでbotの実装が楽になる。メッセージの送信手段が2種類生えるのが少し気がかりくらい
The text was updated successfully, but these errors were encountered: