diff --git a/payphone/db/utils.py b/payphone/db/utils.py index 395ff0a..7fca9f5 100644 --- a/payphone/db/utils.py +++ b/payphone/db/utils.py @@ -5,12 +5,11 @@ import discord from payphone.db import models -async def get_channel(channel: discord.TextChannel, for_update: bool = False) -> models.Channel: +async def get_channel(channel: discord.TextChannel) -> models.Channel: """Returns a channel from the database, creating or updating it if it already exists. Args: channel (discord.TextChannel): The channel to fetch. - for_update (bool, optional): Whether the select should be FOR UPDATE or not. Returns: models.Channel: The channel row.