From 7edd60c10a268df7fed1e7fc0ef38ef1451aa36c Mon Sep 17 00:00:00 2001 From: Polish Hammer Date: Fri, 2 May 2025 20:20:15 +0200 Subject: [PATCH] zmiana nazwy --- file_search_commands.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/file_search_commands.py b/file_search_commands.py index 7e76b0c..1e20850 100644 --- a/file_search_commands.py +++ b/file_search_commands.py @@ -44,7 +44,8 @@ class FileSearchCog(commands.Cog): def __init__(self, bot: commands.Bot): self.bot = bot - @commands.command(name="findfiles") + @commands.has_any_role("Jarl", "Thane") + @commands.command(name="tajna_biblioteka_inkwizycji") async def findfiles(self, ctx: commands.Context, entries: int, *, keywords: str): """ Search for files matching keywords and publish selected ones.