Skip to content
This repository was archived by the owner on Oct 2, 2023. It is now read-only.

Commit e38af74

Browse files
author
Defelo
committed
Fixed sudo clear_cache command
1 parent 004d410 commit e38af74

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

administration/sudo/cog.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ async def sudo(self, ctx: Context, *, cmd: str):
5858
@commands.command()
5959
@SudoPermission.clear_cache.check
6060
async def clear_cache(self, ctx: Context):
61-
await redis.flushall()
61+
await redis.flushdb()
6262
await ctx.message.add_reaction(name_to_emoji["white_check_mark"])
6363

6464
@commands.command()

0 commit comments

Comments
 (0)