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)
|
quarter_name: str = get_election_cycle_name(self.config)
|
||||||
|
|
||||||
# create new entry into database.
|
# create new entry into database.
|
||||||
thread: nextcord.Thread = await parent.create_thread(quarter_name)
|
thread: nextcord.Thread = await parent.create_thread(name=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)
|
|
||||||
with Session(engine) as session:
|
with Session(engine) as session:
|
||||||
new_cycle = ElectionInformation(
|
new_cycle = ElectionInformation(
|
||||||
ElectionCycle=quarter_name, ThreadId=thread.id
|
ElectionCycle=quarter_name, ThreadId=thread.id
|
||||||
|
|||||||
Reference in New Issue
Block a user