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.
 

13 lines
277 B

module Slack
module Request
private
alias_method :_request, :request
def request(method, path, options)
response = _request(method, path, options)
fail response['error'] unless response['ok'] if response.is_a?(Hash)
response
end
end
end