made more commands respect memory setting

This commit is contained in:
ctih1 2025-07-25 23:22:16 +03:00
parent 5773e5d083
commit 90d301c054
2 changed files with 2 additions and 2 deletions

View file

@ -115,7 +115,7 @@ class BaseCommands(commands.Cog):
@commands.command()
async def stats(self, ctx: commands.Context) -> None:
memory_file: str = "memory.json"
memory_file: str = settings["bot"]["active_memory"]
file_size: int = os.path.getsize(memory_file)
with open(memory_file, "r") as file: