title: Weird error - Data store system Discord.py Rewrite
body: <p>So I'm making an rpg type game in Discord.py Rewrite and when the bot is ready, i run this code and I get the error &quot;json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)&quot;</p>
  <pre class="lang-py prettyprint-override"><code>@client.event
  async def on_ready():
      global userdata
      try:
          with open('userdata.json') as f:
              userdata = json.load(f)
      except FileNotFoundError:
          print(&quot;Could not load userdata.json&quot;)
          userdata = {}
  </code></pre>