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
現在は、チャンネルメッセージとダイレクトメッセージとの区別を、それぞれヘルパーメソッド channel_message? と direct_message? を用いて行っているが、Cinchの match メソッドに react_on: :channel もしくは react_on: :private というオプションを指定することで、より簡潔に書ける。
channel_message?
direct_message?
match
react_on: :channel
react_on: :private
The text was updated successfully, but these errors were encountered:
ochaochaocha3
No branches or pull requests
現在は、チャンネルメッセージとダイレクトメッセージとの区別を、それぞれヘルパーメソッド
channel_message?
とdirect_message?
を用いて行っているが、Cinchのmatch
メソッドにreact_on: :channel
もしくはreact_on: :private
というオプションを指定することで、より簡潔に書ける。The text was updated successfully, but these errors were encountered: