Sha256: c7d184541271a0ec0e98dec2f821ce59254faff7dc2c5bd54eb0e2aa85380bde

Contents?: true

Size: 1.15 KB

Versions: 33

Compression:

Stored size: 1.15 KB

Contents

class Emoji
  LOOKUP = {
    'red' => {
      'scout' => '<:scout_red:424097703127941130>',
      'sniper'   => '<:sniper_red:424097704076115978>',
      'soldier'  => '<:soldier_red:424097704197619712>',
      'demoman'  => '<:demoman_red:424097687739301919>',
      'medic'    => '<:medic_red:424097695418941451>',
      'pyro'     => '<:pyro_red:424097704403271691>',
      'hwguy'    => '<:hwguy_red:424097694030757889>',
      'spy'      => '<:spy_red:424097704138899466>',
      'engineer' => '<:engineer_red:424097694680612864>'
    },
    'blue' => {
      'scout' => '<:scout_blue:456062063983460353>',
      'sniper'   => '<:sniper_blue:456062061953417216>',
      'soldier'  => '<:soldier_blue:456062062997536801>',
      'demoman'  => '<:demoman_blue:456061938636554240>',
      'medic'    => '<:medic_blue:456062056710537217>',
      'pyro'     => '<:pyro_blue:456062062460928010>',
      'hwguy'    => '<:hwguy_blue:456062063190736926>',
      'spy'      => '<:spy_blue:456062062032846849>',
      'engineer' => '<:engineer_blue:456062031125020683>'
    }
  }.freeze

  def self.for(team:, player_class:)
    LOOKUP[team] && LOOKUP[team][player_class]
  end
end

Version data entries

33 entries across 33 versions & 1 rubygems

Version Path
qwtf_discord_bot-1.0.1 lib/emoji.rb
qwtf_discord_bot-1.0.0 lib/emoji.rb
qwtf_discord_bot-0.5.9 lib/emoji.rb
qwtf_discord_bot-0.5.8 lib/emoji.rb
qwtf_discord_bot-0.5.7 lib/emoji.rb
qwtf_discord_bot-0.5.6 lib/emoji.rb
qwtf_discord_bot-0.5.5 lib/emoji.rb
qwtf_discord_bot-0.5.4 lib/emoji.rb
qwtf_discord_bot-0.5.3 lib/emoji.rb
qwtf_discord_bot-0.5.2 lib/emoji.rb
qwtf_discord_bot-0.5.1 lib/emoji.rb
qwtf_discord_bot-0.5.0 lib/emoji.rb
qwtf_discord_bot-0.4.1 lib/emoji.rb