Additions before wsl purge

This commit is contained in:
2024-08-15 10:52:29 +02:00
parent dbcb8cce27
commit 1d520c4aeb
2 changed files with 11 additions and 2 deletions
+9 -1
View File
@@ -5,7 +5,7 @@
# Note: Some macOS users may need to use `pip3` instead of `pip`.
import assemblyai as aai
from discord.ext import commands
# Replace with your API key
aai.settings.api_key = "aa9962f0088a449a9c4ab2361e96cc08"
@@ -25,3 +25,11 @@ transcript = transcriber.transcribe(
for utterance in transcript.utterances:
print(f"Speaker {utterance.speaker}: {utterance.text}")
class Transcriber(commands.Cog):
def __init__(self,bot):
self.bot = bot
self._last_member = None
+2 -1
View File
@@ -14,4 +14,5 @@ PyNaCl
flask
waitress
clickupython
assemblyai
assemblyai
git+https://github.com/imayhaveborkedit/discord-ext-voice-recv