Correct parameter usage.
This commit is contained in:
@@ -179,7 +179,7 @@ class SetCog(commands.Cog, name="Set command."):
|
||||
with Session(engine) as session:
|
||||
stmt = select(Guild).where(col(Guild.id) == interaction.guild_id)
|
||||
guild = session.scalar(stmt)
|
||||
guild.VerificationChannel = channel_id
|
||||
guild.verification_channel = channel_id
|
||||
session.commit()
|
||||
await interaction.send(f"Registered <#{channel_id}>.", ephemeral=True)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user