fix: fixed broken managed_status things

This commit is contained in:
Seaswimmer 2023-08-08 21:33:14 -04:00
parent a9312b4fe4
commit cd1f57309d
No known key found for this signature in database
GPG key ID: 5019678FD9CF50D8

View file

@ -529,9 +529,9 @@ class Info(commands.Cog):
if role.managed is True:
managed_status = "True"
if role.is_premium_subscriber() is True:
managed_status = + "\n - **Type:** Nitro Booster Role"
managed_status += "\n - **Type:** Nitro Booster Role"
if role.is_bot_managed() is True:
managed_status = + "\n - **Type:** Managed Bot Role"
managed_status += "\n - **Type:** Managed Bot Role"
else:
managed_status = "False"
description = f"**ID:** {role.id}\n**Mention:** {role.mention}\n**Creation Date:** <t:{timestamp}>\n**Color:** [#{color}]({colorcodelink})\n**Hoisted:** {role.hoist}\n**Position:** {role.position}\n**Managed:** {managed_status}\n**Mentionable:** {role.mentionable}\n**Administrator:** {permissions.administrator}"