David Taylor 2f6d6f0d54 Automatically mount provider’s engines at /chat-integration/{provider_name}
Provider controllers are automatically disabled when the provider is disabled (works the same way as plugin controllers)
2017-07-05 15:03:02 +01:00

12 lines
266 B
Ruby

module DiscourseChat
module Provider
module TelegramProvider
include Provider
PROVIDER_NAME = "telegram".freeze
PROVIDER_ENABLED_SETTING = :chat_integration_telegram_enabled
end
end
end
require_relative "telegram_command_controller.rb"