Minor fixes and .part detection

This commit is contained in:
Patryk Mazur
2026-05-15 20:13:02 +02:00
parent c188c515e2
commit 8f5c8d3d1c
3 changed files with 20 additions and 9 deletions
+3 -3
View File
@@ -1,5 +1,5 @@
import discord
from ..utils import helpers
from ..utils import ytdlp_helpers as helpers
from discord.ext import commands
@@ -17,9 +17,9 @@ class Simp(commands.Cog):
await ctx.respond(f'Błąd pobierania: {result["message"]}')
return
print(f'Wysyłanie "{result["title"]}" na kanał {ctx.channel.name} ({ctx.guild.name})')
print(f'Wysyłanie "{result["title"]}" na kanał #{ctx.channel.name} ({ctx.guild.name})')
await ctx.respond(file=discord.File(result['filename']))
print(f'Wysyłano "{result["title"]}" na kanał {ctx.channel.name} ({ctx.guild.name})')
print(f'Wysyłano "{result["title"]}" na kanał #{ctx.channel.name} ({ctx.guild.name})')
def setup(bot: discord.Bot):