fix: fixed broken managed_status things
This commit is contained in:
parent
a9312b4fe4
commit
cd1f57309d
1 changed files with 2 additions and 2 deletions
|
@ -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}"
|
||||
|
|
Loading…
Reference in a new issue