@staticmethod
async def create_mute_channel(ctx: SlashContext, member: discord.Member, reason: str, duration: str=None):
    if (not duration):
        duration = 'Indefinite'
    category = discord.utils.get(ctx.guild.categories, id=settings.get_value('category_tickets'))
    channel = (await ctx.guild.create_text_channel(f'mute-{member.id}', category=category))
    (await channel.set_permissions(discord.utils.get(ctx.guild.roles, id=settings.get_value('role_trial_mod')), read_messages=True))
    (await channel.set_permissions(discord.utils.get(ctx.guild.roles, id=settings.get_value('role_staff')), read_messages=True))
    (await channel.set_permissions(member, read_messages=True))
    embed = embeds.make_embed(title='🤐 You were muted', description='If you have any questions or concerns about your mute, you may voice them here.')
    embed.add_field(name='User:', value=member.mention, inline=True)
    embed.add_field(name='Moderator:', value=ctx.author.mention, inline=True)
    embed.add_field(name='Length:', value=duration, inline=True)
    embed.add_field(name='Reason:', value=reason, inline=False)
    (await channel.send(embed=embed))
    ping = (await channel.send(member.mention))
    (await ping.delete())
    return channel
@staticmethod
async def create_mute_channel(ctx: SlashContext, member: discord.Member, reason: str, duration: str=None):
    if (not duration):
        duration = 'Indefinite'
    category = discord.utils.get(ctx.guild.categories, id=settings.get_value('category_tickets'))
    channel = (await ctx.guild.create_text_channel(f'mute-{member.id}', category=category))
    (await channel.set_permissions(discord.utils.get(ctx.guild.roles, id=settings.get_value('role_trial_mod')), read_messages=True))
    (await channel.set_permissions(discord.utils.get(ctx.guild.roles, id=settings.get_value('role_staff')), read_messages=True))
    (await channel.set_permissions(member, read_messages=True))
    embed = embeds.make_embed(title='🤐 You were muted', description='If you have any questions or concerns about your mute, you may voice them here.')
    embed.add_field(name='User:', value=member.mention, inline=True)
    embed.add_field(name='Moderator:', value=ctx.author.mention, inline=True)
    embed.add_field(name='Length:', value=duration, inline=True)
    embed.add_field(name='Reason:', value=reason, inline=False)
    (await channel.send(embed=embed))
    ping = (await channel.send(member.mention))
    (await ping.delete())
    return channel