From cf6289e68fc9f6837a50241251800752f7b7d2be Mon Sep 17 00:00:00 2001 From: slack-ruby-ci-bot Date: Sun, 27 Aug 2023 23:19:02 +0000 Subject: [PATCH] Update API from slack-api-ref@f2e768a (2023-08-27) --- bin/commands/dnd.rb | 2 +- lib/slack/web/api/endpoints/dnd.rb | 2 +- lib/slack/web/api/slack-api-ref | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/bin/commands/dnd.rb b/bin/commands/dnd.rb index 41f904a6..6c00aaa0 100644 --- a/bin/commands/dnd.rb +++ b/bin/commands/dnd.rb @@ -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 diff --git a/lib/slack/web/api/endpoints/dnd.rb b/lib/slack/web/api/endpoints/dnd.rb index 13ed42b8..0b1229d7 100644 --- a/lib/slack/web/api/endpoints/dnd.rb +++ b/lib/slack/web/api/endpoints/dnd.rb @@ -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 = {}) diff --git a/lib/slack/web/api/slack-api-ref b/lib/slack/web/api/slack-api-ref index f2e768a8..fc297d16 160000 --- a/lib/slack/web/api/slack-api-ref +++ b/lib/slack/web/api/slack-api-ref @@ -1 +1 @@ -Subproject commit f2e768a8c3e1d5106a600ce2414b48e986b7d39a +Subproject commit fc297d162f74f0c32a9ae41d7fb7911ac2581abe