Skip to content
Snippets Groups Projects
Commit 82ed25d5 authored by dnns01's avatar dnns01
Browse files

Fix error in role assignment

parent b0495711
No related branches found
No related tags found
1 merge request!15Aktualisierung von News-Branch
......@@ -49,7 +49,7 @@ class Roles(commands.Cog):
await interaction.response.defer(ephemeral=True)
channel = await self.bot.fetch_channel(self.channel_id)
message = await channel.fetch_message(self.message_id) if self.message_id else None
view = RoleView(assignable_roles=self.config["extensions"][__name__.split(".")[-1]]["assignable_roles"])
view = RoleView(assignable_roles=self.assignable_roles)
embed = discord.Embed(title="Such dir deine Rollen aus",
description="Durch Klicken auf den Button unter dieser Nachricht kannst du dir selbst "
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment