misc(repository): black reformat
This commit is contained in:
parent
519e3056ab
commit
fa3b353704
5 changed files with 186 additions and 86 deletions
|
@ -24,7 +24,9 @@ class Nerdify(commands.Cog):
|
|||
self.bot = bot
|
||||
|
||||
@commands.command(aliases=["nerd"])
|
||||
async def nerdify(self, ctx: commands.Context, *, text: Optional[str] = None) -> None:
|
||||
async def nerdify(
|
||||
self, ctx: commands.Context, *, text: Optional[str] = None
|
||||
) -> None:
|
||||
"""Nerdify the replied to message, previous message, or your own text."""
|
||||
if not text:
|
||||
if hasattr(ctx.message, "reference") and ctx.message.reference:
|
||||
|
@ -57,7 +59,7 @@ class Nerdify(commands.Cog):
|
|||
|
||||
Returns:
|
||||
The converted text."""
|
||||
return f"\"{text}\" 🤓"
|
||||
return f'"{text}" 🤓'
|
||||
|
||||
async def type_message(
|
||||
self, destination: discord.abc.Messageable, content: str, **kwargs: Any
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue