diff options
author | Parker <contact@pkrm.dev> | 2024-06-26 18:38:21 -0500 |
---|---|---|
committer | Parker <contact@pkrm.dev> | 2024-06-26 18:38:21 -0500 |
commit | 88c545b96f54b053208c3f668852608cee14bb74 (patch) | |
tree | f5dab8cb69ee3ccff2558bf3fe9d24b235476bb4 /code/cogs/owner | |
parent | 1f1e482013d0b9043e9f331f78c45780e4aa8a33 (diff) |
Change connections to correct folder path
Diffstat (limited to 'code/cogs/owner')
-rw-r--r-- | code/cogs/owner/stats.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/code/cogs/owner/stats.py b/code/cogs/owner/stats.py index c1fac7e..2c40c1d 100644 --- a/code/cogs/owner/stats.py +++ b/code/cogs/owner/stats.py @@ -26,7 +26,7 @@ class Stats(commands.Cog): @tasks.loop(seconds=30) async def dump_count(self): - connection = sqlite3.connect("count.db") + connection = sqlite3.connect("data/count.db") cursor = connection.cursor() for command_name, count in self.bot.temp_command_count.items(): @@ -56,7 +56,7 @@ class Stats(commands.Cog): @commands.dm_only() @commands.is_owner() async def stats(self, ctx: commands.Context): - connection = sqlite3.connect("count.db") + connection = sqlite3.connect("data/count.db") cursor = connection.cursor() # Pull the top 5 commands being run |