Skip to content

Commit

Permalink
Merge pull request #230 from TogetherCrew/debug-hivemind-adapter
Browse files Browse the repository at this point in the history
debug: debugging handleQuestionResponseReceivedEvent
  • Loading branch information
Behzad-rabiei authored Nov 7, 2024
2 parents f690447 + 4975f9c commit ce9ddfd
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@ export class HivemindAdapterService {
async handleQuestionResponseReceivedEvent(msg: Record<string, any>) {
try {
this.logger.info(msg, `processing QUESTION_RESPONSE_RECEIVED event`)
const question = msg?.content.question
const question = msg?.content
this.logger.info(question, msg?.content)
const data = this.adaptDataToBot(question)
this.rabbitMQService.publish(Queue.DISCORD_BOT, Event.DISCORD_BOT.INTERACTION_RESPONSE.EDIT, { ...data })
this.logger.info(msg, `QUESTION_RESPONSE_RECEIVED event is processed`)
Expand Down

0 comments on commit ce9ddfd

Please sign in to comment.