-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbot.rb
More file actions
25 lines (23 loc) · 830 Bytes
/
Copy pathbot.rb
File metadata and controls
25 lines (23 loc) · 830 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# frozen_string_literal: true
# Bot principal de Trackit
require_relative 'models/modelo_objetos'
require_relative 'lib/commands/registrar_objeto'
require_relative 'lib/commands/ver_objetos'
require_relative 'lib/commands/eliminar_objeto'
require_relative 'lib/commands/buscar_objeto'
require_relative 'lib/commands/actualizar_objeto'
require_relative 'lib/commands/predecir_objeto'
require_relative 'lib/predictor'
require_relative 'lib/commands/ayuda'
class Trackit < Kybus::Bot::Base
def initialize(configs)
super
Commands::RegistrarObjeto.register(self)
Commands::VerObjetos.register(self)
Commands::EliminarObjeto.register(self)
Commands::BuscarObjeto.register(self)
Commands::ActualizarObjeto.register(self)
Commands::PredecirObjeto.register(self)
Commands::Ayuda.register(self)
end
end