Skip to content

Commit

Permalink
Update API from slack-api-ref@f2e768a (2023-08-26)
Browse files Browse the repository at this point in the history
  • Loading branch information
web-flow committed Aug 26, 2023
1 parent 506376c commit 64ade07
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
* [#491](https://github.com/slack-ruby/slack-ruby-client/pull/491): Added code coverage - [@dblock](https://github.com/dblock).
* [#486](https://github.com/slack-ruby/slack-ruby-client/pull/486): Async handler support for Slack::RealTime::Config and Client - [@milestruecar](https://github.com/milestruecar).
* [#489](https://github.com/slack-ruby-client/pulls/489): Update API from [slack-api-ref@0d3f0b6](https://github.com/slack-ruby/slack-api-ref/commit/0d3f0b6) - [@slack-ruby-ci-bot](https://github.com/apps/slack-ruby-ci-bot).
* [#493](https://github.com/slack-ruby-client/pulls/493): Update API from [slack-api-ref@f2e768a](https://github.com/slack-ruby/slack-api-ref/commit/f2e768a) - [@slack-ruby-ci-bot](https://github.com/apps/slack-ruby-ci-bot).
* Your contribution here.

### 2.1.0 (2023/03/17)
Expand Down
2 changes: 1 addition & 1 deletion bin/commands/dnd.rb
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ class App
g.desc 'Turns on Do Not Disturb mode for the current user, or changes its duration.'
g.long_desc %( Turns on Do Not Disturb mode for the current user, or changes its duration. )
g.command 'setSnooze' do |c|
c.flag 'num_minutes', desc: 'Number of minutes, from now, to snooze until.'
c.flag 'num_minutes', desc: 'This argument is required. Number of minutes, from now, to snooze until.'
c.action do |_global_options, options, _args|
puts JSON.dump(@client.dnd_setSnooze(options))
end
Expand Down
2 changes: 1 addition & 1 deletion lib/slack/web/api/endpoints/dnd.rb
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ def dnd_info(options = {})
# Turns on Do Not Disturb mode for the current user, or changes its duration.
#
# @option options [string] :num_minutes
# Number of minutes, from now, to snooze until.
# This argument is required. Number of minutes, from now, to snooze until.
# @see https://api.slack.com/methods/dnd.setSnooze
# @see https://github.com/slack-ruby/slack-api-ref/blob/master/methods/dnd/dnd.setSnooze.json
def dnd_setSnooze(options = {})
Expand Down
2 changes: 1 addition & 1 deletion lib/slack/web/api/slack-api-ref

0 comments on commit 64ade07

Please sign in to comment.