title: Having issues checking time logs within sqlite
body: <p>I've made a few posts here on this, I'm comparing the time stamps correctly now, but on my database I'm not noticing the update to xp.</p>
  <p>What I would like my program to do is check the timestamp of the time stored in a DB, update it and then update the experience if it's been a minute after the first time stamp</p>
  <p>Currently, I'm doing this on 2 lines, I assume I can get it into one, but my other issues with it is that when it updates the DB, it doesn't update the experience and only the xp_time column.</p>
  <pre><code>        xp_update = (f&quot;UPDATE xpdata SET xp_time = strftime('%s','now') WHERE user_id = {user_id} AND guild_id = {guild_id}&quot;)
          cursor.execute(xp_update)
          xp_update = (f&quot;UPDATE xpdata SET xp = xp + {xp_inc} WHERE user_id = {user_id} AND guild_id = {guild_id} AND strftime('%s',xp_time) &lt; strftime('%s','now','-59 seconds');&quot;)
          cursor.execute(xp_update)
  </code></pre>
  <p>what my database looks like:</p>
  <p><a href="https://i.stack.imgur.com/4ZvzF.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/4ZvzF.png" alt="only xp_time gets updated when a user sends a message" /></a></p>