Module: ESM::Command::Pictures::Birb::ErrorMessage

Defined in:
lib/esm/command/pictures/birb.rb

Class Method Summary collapse

Class Method Details

.birb_not_found(user:) ⇒ Object



10
11
12
13
14
15
# File 'lib/esm/command/pictures/birb.rb', line 10

def self.birb_not_found(user:)
  ESM::Embed.build do |e|
    e.description = I18n.t("command_errors.birb_not_found", user: user)
    e.color = :red
  end
end