Skip to content

Commit af564af

Browse files
committed
Removed remaining GIFs.
1 parent 951f230 commit af564af

File tree

3 files changed

+1
-4
lines changed

3 files changed

+1
-4
lines changed

slack-api-explorer/commands/default.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ class Default < SlackRubyBot::Commands::Base
55

66
def self.call(client, data, _match)
77
client.say(channel: data.channel, text: SlackApiExplorer::INFO)
8-
client.say(channel: data.channel, gif: 'robot')
98
end
109
end
1110
end

slack-api-explorer/commands/slack.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ def self.call(client, data, match)
2121
end
2222
end
2323
rescue SyntaxError => e
24-
client.say(channel: data.channel, text: e.message, gif: 'error')
24+
client.say(channel: data.channel, text: e.message)
2525
end
2626

2727
def self.execute(client, args)

spec/slack-api-explorer/commands/default_spec.rb

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,11 @@
88

99
it 'default' do
1010
expect(client).to receive(:say).with(channel: 'channel', text: SlackApiExplorer::INFO)
11-
expect(client).to receive(:say).with(channel: 'channel', gif: 'robot')
1211
message_hook.call(client, Hashie::Mash.new(channel: 'channel', text: SlackRubyBot.config.user))
1312
end
1413

1514
it 'upcase' do
1615
expect(client).to receive(:say).with(channel: 'channel', text: SlackApiExplorer::INFO)
17-
expect(client).to receive(:say).with(channel: 'channel', gif: 'robot')
1816
message_hook.call(client, Hashie::Mash.new(channel: 'channel', text: SlackRubyBot.config.user.upcase))
1917
end
2018
end

0 commit comments

Comments
 (0)