mirror of
https://github.com/migatu/conjurer.git
synced 2026-07-18 15:52:10 +00:00
Additions before wsl purge
This commit is contained in:
@@ -5,7 +5,7 @@
|
|||||||
# Note: Some macOS users may need to use `pip3` instead of `pip`.
|
# Note: Some macOS users may need to use `pip3` instead of `pip`.
|
||||||
|
|
||||||
import assemblyai as aai
|
import assemblyai as aai
|
||||||
|
from discord.ext import commands
|
||||||
# Replace with your API key
|
# Replace with your API key
|
||||||
aai.settings.api_key = "aa9962f0088a449a9c4ab2361e96cc08"
|
aai.settings.api_key = "aa9962f0088a449a9c4ab2361e96cc08"
|
||||||
|
|
||||||
@@ -25,3 +25,11 @@ transcript = transcriber.transcribe(
|
|||||||
|
|
||||||
for utterance in transcript.utterances:
|
for utterance in transcript.utterances:
|
||||||
print(f"Speaker {utterance.speaker}: {utterance.text}")
|
print(f"Speaker {utterance.speaker}: {utterance.text}")
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
class Transcriber(commands.Cog):
|
||||||
|
def __init__(self,bot):
|
||||||
|
self.bot = bot
|
||||||
|
self._last_member = None
|
||||||
@@ -15,3 +15,4 @@ flask
|
|||||||
waitress
|
waitress
|
||||||
clickupython
|
clickupython
|
||||||
assemblyai
|
assemblyai
|
||||||
|
git+https://github.com/imayhaveborkedit/discord-ext-voice-recv
|
||||||
Reference in New Issue
Block a user