refactor(bot): ⚰️ Remove dead code.
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user