A Slack Bot that pulls Pixiv information and posts the full image(s) into Slack, with iOS shortcuts.
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
module SlackRubyBot
|
|
module Commands
|
|
class Unknown < Base
|
|
match(/^(?<bot>\w*)[\s]*(?<expression>.*)$/)
|
|
|
|
def self.call(client, data, _match)
|
|
send_message_with_gif client, data.channel, "Sorry <@#{data.user}>, I don't understand that command!", 'idiot'
|
|
end
|
|
end
|
|
end
|
|
end
|