class Bot::WebhookJob < ApplicationJob def perform(bot, message) bot.deliver_webhook(message) end end