mirror of
https://github.com/migatu/conjurer.git
synced 2026-07-14 21:38:38 +00:00
fx
This commit is contained in:
@@ -200,6 +200,7 @@ class Transcriber(commands.Cog):
|
||||
logger.info("Transcriber queue id: %s",id(self.comm_queue))
|
||||
|
||||
while True:
|
||||
logger.info("waiting for tasks")
|
||||
item = self.comm_queue.get()
|
||||
logger.info("Got %s", item)
|
||||
if item.type == "STOP":
|
||||
@@ -213,6 +214,8 @@ class Transcriber(commands.Cog):
|
||||
logger.info("%s : %s", item.user, utterance.text)
|
||||
elif item.type == "user_cleanup":
|
||||
logger.info("User %s disconnected - cleanup action")
|
||||
else:
|
||||
logger.warn("Something went wrong with object %s", item)
|
||||
logger.info("End transcript worker")
|
||||
|
||||
async def setup(bot):
|
||||
|
||||
Reference in New Issue
Block a user