repaired countreader

This commit is contained in:
MarlaB 2024-03-22 22:29:20 +01:00
parent 720b483f0f
commit a260017c7b

View File

@ -93,7 +93,7 @@ async def count_reader(message): #count command returns message w
for file_path in directory:
for path in file_path[2]:
if path.startswith(slovo):
if path.split("_")[0] == slovo:
files.append(path)
else:
@ -299,7 +299,7 @@ async def count(ctx):
@client.command()
async def pomoc(ctx):
await (help_command(ctx.message))
await help_command(ctx.message)
@client.command()
async def etime(ctx):