clean docstrings for commands, resolves #1

This commit is contained in:
2025-04-10 11:17:32 -04:00
parent 11ff1d6447
commit c7db52efde
5 changed files with 1 additions and 297 deletions

View File

@ -29,12 +29,6 @@ class LoveHate(commands.Cog):
async def loves(self, ctx, user: Optional[str] = None) -> None:
"""
If keyword isn't provided, returns the things YOU love; specify a user to find what THEY love.
Args:
ctx (Any)
user (Optional[str])
Returns:
None
"""
try:
if not user:
@ -68,12 +62,6 @@ class LoveHate(commands.Cog):
async def wholoves(self, ctx, *, thing: Optional[str] = None) -> None:
"""
Check who loves <thing>
Args:
ctx (Any)
thing (Optional[str])
Returns:
None
"""
try:
if not thing:
@ -118,12 +106,6 @@ class LoveHate(commands.Cog):
async def whohates(self, ctx, *, thing: Optional[str] = None) -> None:
"""
Check who hates <thing>
Args:
ctx (Any)
thing (Optional[str])
Returns:
None
"""
try:
if not thing:
@ -167,12 +149,6 @@ class LoveHate(commands.Cog):
async def dontcare(self, ctx, thing: str) -> None:
"""
Make me forget your opinion on <thing>
Args:
ctx (Any)
thing (str)
Returns:
None
"""
try:
stop_caring: str = await self.db.update(ctx.author.display_name,
@ -186,12 +162,6 @@ class LoveHate(commands.Cog):
async def hates(self, ctx, user: Optional[str] = None) -> None:
"""
If keyword isn't provided, returns the things YOU hate; specify a user to find what THEY hate.
Args:
ctx (Any)
user (Optional[str])
Returns:
None
"""
try:
if not user:
@ -222,12 +192,6 @@ class LoveHate(commands.Cog):
async def love(self, ctx, *, thing: str) -> None:
"""
Love <thing>
Args:
ctx (Any)
thing (str)
Returns:
None
"""
try:
if discord.utils.raw_mentions(thing):
@ -252,12 +216,6 @@ class LoveHate(commands.Cog):
async def hate(self, ctx, *, thing: str) -> None:
"""
Hate <thing>
Args:
ctx (Any)
thing (str)
Returns:
None
"""
try:
if discord.utils.raw_mentions(thing):