mirror of
https://github.com/migatu/conjurer.git
synced 2026-07-14 21:38:38 +00:00
attachment test
This commit is contained in:
+9
-1
@@ -597,7 +597,15 @@ class MusicModule(commands.Cog):
|
||||
self.logger.error("Not possible to connect to voice")
|
||||
return
|
||||
self.logger.info("Connected to voice")
|
||||
|
||||
@commands.hybrid_command(
|
||||
name="batch_downloade",
|
||||
description="Zaciąga obiekty z pliku",
|
||||
guild=discord.Object(id=664789470779932693),
|
||||
)
|
||||
async def batch_download(self,ctx, attachment):
|
||||
self.ctx.reply(attachment.content_type)
|
||||
contents = await attachment.read()
|
||||
self.logger.info(contents)
|
||||
async def disconnect(self, ctx):
|
||||
"""
|
||||
Asynchronous Python function that disconnects the voice client if it is connected and
|
||||
|
||||
Reference in New Issue
Block a user