Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
mr-exz committed Dec 24, 2024
1 parent f10eeb4 commit 77170fe
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion bot/commands/answer_set_custom_text.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ module WhoIsOnDutyTodaySlackBotModule
module Commands
class AnswerSetCustomText
DESCRIPTION = 'Will configure default answer in channel. type:non_working_time/working_time'.freeze
EXAMPLE = '`cibot answer set custom text type:<time type> text:<custom text>` example: `cibot answer set custom text type:non_working_time text:This is the custom text for non working hours.`'.freeze
EXAMPLE = '`answer set custom text type:<time type> text:<custom text>` example: `cibot answer set custom text type:non_working_time text:This is the custom text for non working hours.`'.freeze
def self.call(client:, data:, match:)
expression = match['expression']

Expand Down
2 changes: 1 addition & 1 deletion bot/whoisondutytodayslackbot.rb
Original file line number Diff line number Diff line change
Expand Up @@ -135,4 +135,4 @@ class WhoIsOnDutyTodaySlackBot < SlackRubyBot::Bot
scan(/(.*)/) do |client, data, match|
WhoIsOnDutyTodaySlackBotModule::Commands::Other.call(client: client, data: data, match: match)
end
end
end

0 comments on commit 77170fe

Please sign in to comment.