You didn't read this bit:

From andymps: 2. most of the trivia bots now have anti cheat features such as put random letter where there is a space

This is infact correct, many of the popular bots do this specifically to try and catch cheats out. Trying to post a response to help is of no help to those who try to use or run trivia rooms without a disruptive bot ruining things.

You code cannot work in any case - How does your code realise what line the answer to the question is on?