Skip to content

Commit

Permalink
Fixing role position on custom roles
Browse files Browse the repository at this point in the history
  • Loading branch information
bugsbirb committed Feb 28, 2024
1 parent 9dc1d98 commit 0dfabed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Cogs/Modules/astro.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ async def on_submit(self, interaction: discord.Interaction):
await interaction.response.send_message(embed=embed, ephemeral=True)
return

role2 = discord.utils.get(interaction.guild.roles, name="​      Supporters        ​")
role2 = discord.utils.get(interaction.guild.roles, name="⠀⠀⠀⠀⠀⠀⠀⠀Supporters​⠀⠀⠀⠀⠀⠀⠀⠀⠀​")
position = role2.position + 1


Expand Down

0 comments on commit 0dfabed

Please sign in to comment.