Remove another permission setting.

name a parameter.
This commit is contained in:
2023-11-08 15:43:58 -05:00
parent 75fc59ed5e
commit c38632ca21
+1 -5
View File
@@ -191,11 +191,7 @@ class ElectionCycle:
quarter_name: str = get_election_cycle_name(self.config)
# create new entry into database.
thread: nextcord.Thread = await parent.create_thread(quarter_name)
clan_member_role: nextcord.Role = self.guild.get_role(
self.config.params.clan_member_role_id
)
await thread.set_permissions(clan_member_role, add_reactions=True)
thread: nextcord.Thread = await parent.create_thread(name=quarter_name)
with Session(engine) as session:
new_cycle = ElectionInformation(
ElectionCycle=quarter_name, ThreadId=thread.id