Class: ESM::Command::My::SteamUid

Inherits:
ApplicationCommand show all
Defined in:
lib/esm/command/my/steam_uid.rb

Instance Method Summary collapse

Instance Method Details

#on_executeObject



19
20
21
22
23
24
25
26
# File 'lib/esm/command/my/steam_uid.rb', line 19

def on_execute
  embed =
    ESM::Embed.build do |e|
      e.description = I18n.t("commands.steam_uid.response", user: current_user.mention, steam_uid: current_user.steam_uid)
    end

  reply(embed)
end