title: psycopg2.errors.SyntaxError: syntax error at or near "<"
body: <p>I have a small discord bot running in Python. I’m trying to implement a trivia question system in, using OpenTDB, but currently, when I try to import the questions into an SQL server, this error pop up:</p>
  <pre><code>2020-07-29T03:37:42.477745+00:00 app[worker.1]:     await coro(*args, **kwargs)
  2020-07-29T03:37:42.477745+00:00 app[worker.1]:   File &quot;Dmemer.py&quot;, line 81, in on_ready
  2020-07-29T03:37:42.477746+00:00 app[worker.1]:     download_questions()
  2020-07-29T03:37:42.477750+00:00 app[worker.1]:   File &quot;Dmemer.py&quot;, line 292, in download_questions
  2020-07-29T03:37:42.477753+00:00 app[worker.1]:     cur.execute(f&quot;INSERT INTO trivia (id, category, difficulty, question, correct, wrong1, wrong2, wrong3) VALUES ({id}, {category}, {difficulty}, {question}, {correctans}, {badans1}, {badans2}, {badans3})&quot;)
  2020-07-29T03:37:42.477754+00:00 app[worker.1]: psycopg2.errors.SyntaxError: syntax error at or near &quot;&lt;&quot;
  2020-07-29T03:37:42.477754+00:00 app[worker.1]: LINE 1: ...uestion, correct, wrong1, wrong2, wrong3) VALUES (&lt;built-in ...
  2020-07-29T03:37:42.477754+00:00 app[worker.1]:                                                              ^
  </code></pre>
  <p>Here’s the source code on GitHub: <a href="https://github.com/ducanh2002123/Dank-Memer-Private-Clone" rel="nofollow noreferrer">https://github.com/ducanh2002123/Dank-Memer-Private-Clone</a>
  The line of code that’s reporting as broken is in line 292
  Thanks in advance</p>