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.