diff --git a/librarian_commands.py b/librarian_commands.py index 1210331..e3c67e8 100644 --- a/librarian_commands.py +++ b/librarian_commands.py @@ -187,7 +187,7 @@ class DataModule(commands.Cog): description="Przygotowuje drinka o nazwie głębokie gardło", guild=discord.Object(id=664789470779932693), ) - async def wyszukaj_linki_do_dokumentow_deep(ctx): + async def wyszukaj_linki_do_dokumentow_deep(self, ctx): """ The function `wyszukaj_linki_do_dokumentow_deep` performs a deep search for links to documents in a crossref database and provides links to scihub. diff --git a/other_commands.py b/other_commands.py index 3dbab50..22e4691 100644 --- a/other_commands.py +++ b/other_commands.py @@ -20,7 +20,7 @@ class OtherModule(commands.Cog): @commands.hybrid_command( name="przytul", description="Przytul kogoś - daj mention po komendzie :)" ) - async def przytul(ctx, arg: Optional[discord.Member] = None): + async def przytul(self, ctx, arg: Optional[discord.Member] = None): """ Generate a text about hugging mentioned user. @@ -105,7 +105,7 @@ class OtherModule(commands.Cog): name="chata_hammera", description="Czas od ostatniego incydentu w AbsinthHammerTimeSpaceContinuum", ) - async def chata_hammera(ctx): + async def chata_hammera(self, ctx): """ Send measured time from last incident in Hammer Fortress to the chat. @@ -127,7 +127,7 @@ class OtherModule(commands.Cog): name="historia_incydentow_u_hammera", description="Wyswietla liste incydentów które miały miejsce w AbsinthHammerTimeSpaceContinuum.", ) - async def historia_incydentow_u_hammera(ctx): + async def historia_incydentow_u_hammera(self, ctx): """ Send a list of incidents in Hammer Fortress to the chat.