Minor fixes and .part detection
This commit is contained in:
+3
-3
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user