Method: DBLRuby::Bot#avatar_img

Defined in:
lib/dblruby/bot.rb

#avatar_imgString

Get’s the bot’s avatar as an img, ready to be used in image linking.

Returns:

  • (String)

    the bot’s avatar image url.



88
89
90
# File 'lib/dblruby/bot.rb', line 88

def avatar_img
  "https://cdn.discordapp.com/avatars/#{id}/#{avatar}.webp?size=1024"
end