title: sqlite3 OperationalError: no such table: main error on repl.it but not on PC
body: <p>I am making a discord bot with discord.py that relies on the sqlite3 database for storing guild info. While making the bot on my pc, everything was going great and I didn't get the error, but when I upload it to repl.it, it gives that error all of a sudden. Why does it do that?</p>
  <pre class="lang-py prettyprint-override"><code>import time
  import requests
  import random
  import asyncio
  import datetime
  import discord
  import sqlite3
  import randfacts
  from discord.ext import tasks, commands
  
  
  class FactsCog(commands.Cog, name = &quot;Facts&quot;):
      def __init__(self, bot):
          self.bot = bot
          self.fotd.start()
  
      @tasks.loop(seconds=20.0)
      async def fotd(self):
          db = sqlite3.connect('main.sqlite')
          cursor = db.cursor()
          cursor.execute(f&quot;SELECT channel_id FROM main&quot;)
          channels = cursor.fetchall()
          for ID in channels:
              fact = randfacts.getFact()
              channel = self.bot.get_channel(int(ID[0]))
              embed = discord.Embed(colour = 0x4f92ff, title = &quot;Fact Of The Day&quot;, description = fact)
              embed.set_thumbnail(url = 'https://cdn.discordapp.com/attachments/811504534177579038/820069055444156436/TriviaTops.png')
              embed.set_footer(text = &quot;Fact Of The Day - Trivia Tops&quot;, icon_url = 'https://cdn.discordapp.com/attachments/811504534177579038/820069055444156436/TriviaTops.png')
              await channel.send(embed = embed)
  
      @fotd.before_loop
      async def before_start(self):
          await self.bot.wait_until_ready()
  
  def setup(bot):
      bot.add_cog(FactsCog(bot))
      print(&quot;Facts cog loaded!&quot;)
  </code></pre>
  <p>This^ is my code and I'm sure that there aren't any problems as it runs on my PC just fine, but errors &quot;sqlite3 OperationalError: no such table: main&quot; on repl.it.</p>
  <p>Thanks for reading, I would appreciate it if you could some how elaborate your answers more as I only started python yesterday.</p>