This commit is contained in:
2024-08-15 16:46:42 +02:00
parent 5ea792bcd2
commit fd23518f7a
2 changed files with 5 additions and 2 deletions
+4 -1
View File
@@ -30,7 +30,7 @@ class Transcriber(commands.Cog):
if channel is not None:
await channel.send(f'Witaj u Nas {member.mention}.')
@commands.command()
@commands.hybrid_command()
async def witaj(self, ctx, *, member: discord.Member = None):
"""Says hello"""
member = member or ctx.author
@@ -49,3 +49,6 @@ class Transcriber(commands.Cog):
)
for utterance in transcript.utterances:
print(f"Speaker {utterance.speaker}: {utterance.text}")
def setup(bot):
bot.add_cog(Transcriber(bot))