repaired countreader
This commit is contained in:
parent
720b483f0f
commit
a260017c7b
@ -93,7 +93,7 @@ async def count_reader(message): #count command returns message w
|
|||||||
for file_path in directory:
|
for file_path in directory:
|
||||||
for path in file_path[2]:
|
for path in file_path[2]:
|
||||||
|
|
||||||
if path.startswith(slovo):
|
if path.split("_")[0] == slovo:
|
||||||
files.append(path)
|
files.append(path)
|
||||||
|
|
||||||
else:
|
else:
|
||||||
@ -299,7 +299,7 @@ async def count(ctx):
|
|||||||
|
|
||||||
@client.command()
|
@client.command()
|
||||||
async def pomoc(ctx):
|
async def pomoc(ctx):
|
||||||
await (help_command(ctx.message))
|
await help_command(ctx.message)
|
||||||
|
|
||||||
@client.command()
|
@client.command()
|
||||||
async def etime(ctx):
|
async def etime(ctx):
|
||||||
|
Loading…
Reference in New Issue
Block a user