title: Making a variable for discord bot that doesn't get reset if the bot goes down
body: <p>I started making a discord bot in python. What I want to do is set up a system of points for all the members of the server.</p>
  
  <p>I have a "game" already set up where you guess a number from 0-9 and if it's correct, it will say "correct". What I need is to set up a points variable for each person on the server, so each person could play. I could set point variables at the top of my file, but then it would reset back to 0 whenever I restart the bot. Maybe I can save it all to a text file and read from that?</p>
  
  <pre><code>    if message.content.startswith('!gamble'):
      if len(message.content) != 9:
          msg = 'Improper command form' + str(len(message.content))
          await client.send_message(message.channel, msg)
          return
  
      num = randint(0,9)
      guess = message.content[8]
      if str(num) == str(guess):
          msg = 'You win! You guessed ' + str(guess) + ' and the number was ' + str(num)
          await client.send_message(message.channel, msg)
  
      else:
          msg = 'You lost :(. You guessed ' + str(guess) + ' and the number was ' + str(num)
          await client.send_message(message.channel, msg)
  </code></pre>
  
  <p>This part works correctly. I could easily add a variable at the top and add a point every time someone is correct, but then it would go back to whatever it was set to. How would you recommend going about this?</p>