flaree / lastfm-red

LastFM Ported to Red
MIT License
3 stars 3 forks source link

Error in [p]fm server recent #20

Closed DoctorDinosaur closed 4 months ago

DoctorDinosaur commented 1 year ago
[00:12:49] ERROR    [red] Exception in command 'fm server recent'
╭───────────────────── Traceback (most recent call last) ──────────────────────╮
│ /home/container/.local/lib/python3.11/site-packages/discord/ext/commands/cor │
│ e.py:235 in wrapped                                                          │
│ ❱  235             ret = await coro(*args, **kwargs)                         │
│ /home/container/.local/share/Red-DiscordBot/data/pterodactyl/cogs/CogManager │
│ /cogs/lastfm/recent.py:111 in command_recent_server                          │
│ ❱ 111             icon_url=ctx.guild.icon_url,                               │
╰──────────────────────────────────────────────────────────────────────────────╯
AttributeError: 'Guild' object has no attribute 'icon_url'
privacywhen commented 4 months ago

This ticket can be closed as of the following fix: https://github.com/flaree/lastfm-red/pull/21