Class: ESM::Command::Territory::Pay

Inherits:
ApplicationCommand show all
Defined in:
lib/esm/command/territory/pay.rb

Defined Under Namespace

Modules: V1

Instance Method Summary collapse

Instance Method Details

#on_executeObject



26
27
28
29
30
31
32
33
34
# File 'lib/esm/command/territory/pay.rb', line 26

def on_execute
  response = call_sqf_function!(
    "ESMs_command_pay",
    territory_id: arguments.territory_id
  )

  embed = embed_from_message!(response)
  reply(embed)
end