This commit is contained in:
2024-11-10 15:38:59 +01:00
parent d56b0b7f1d
commit 6aec5d05d2
2 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -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.
+3 -3
View File
@@ -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.