Remove another permission setting.
name a parameter.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user