aboutsummaryrefslogtreecommitdiff
path: root/code
diff options
context:
space:
mode:
authorParker <contact@pkrm.dev>2024-06-26 18:38:21 -0500
committerParker <contact@pkrm.dev>2024-06-26 18:38:21 -0500
commit88c545b96f54b053208c3f668852608cee14bb74 (patch)
treef5dab8cb69ee3ccff2558bf3fe9d24b235476bb4 /code
parent1f1e482013d0b9043e9f331f78c45780e4aa8a33 (diff)
Change connections to correct folder path
Diffstat (limited to 'code')
-rw-r--r--code/cogs/owner/stats.py4
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