diff --git a/bot.py b/bot.py index 857d226..bcfeb01 100644 --- a/bot.py +++ b/bot.py @@ -1352,7 +1352,7 @@ async def max_weight(lista): guild=discord.Object(id=664789470779932693), ) async def skip_track(ctx): - with ctx.typing(): + async with ctx.typing(): allowed = False for role in ctx.author.roles: if role.name == "Thane": @@ -1367,7 +1367,7 @@ async def skip_track(ctx): guild=discord.Object(id=664789470779932693), ) async def zrestartuj_radio(ctx): - with ctx.typing(): + async with ctx.typing(): allowed = False for role in ctx.author.roles: if role.name == "Thane":