Skip to content
This repository was archived by the owner on Feb 7, 2026. It is now read-only.

Fix issue in /automod where server icon fails to display#348

Merged
notsniped merged 1 commit intomainfrom
fix-automod-server-icon-display
Apr 1, 2024
Merged

Fix issue in /automod where server icon fails to display#348
notsniped merged 1 commit intomainfrom
fix-automod-server-icon-display

Conversation

@notsniped
Copy link
Member

Basically update the attribute name for guild icon in order to fetch it and display it in the embed correctly, because Pycord changed the icon_url attribute which led to an AttributeError and that led to an embed creation exception, which led to the whole command failing. Anyway, thankfully, its all fixed now. 😌

This is what happens when you update Pycord.

Basically update the attribute name for guild icon in order to fetch it and display it in the embed.

This is what happens when you update Pycord.
@notsniped notsniped added priority:high type:patch Bug fixes for the bot and/or it's commands area:moderation system Update to the bot's moderation system labels Apr 1, 2024
@notsniped notsniped self-assigned this Apr 1, 2024
@notsniped notsniped merged commit 3aceeb5 into main Apr 1, 2024
@notsniped notsniped deleted the fix-automod-server-icon-display branch April 1, 2024 18:00
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

area:moderation system Update to the bot's moderation system priority:high size/XS type:patch Bug fixes for the bot and/or it's commands

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant