fix(aurora): fixed the Note moderation type handler using cls.string instead of cls.verb
All checks were successful
Actions / Build Documentation (MkDocs) (pull_request) Successful in 30s
Actions / Lint Code (Ruff & Pylint) (pull_request) Successful in 54s

This commit is contained in:
Seaswimmer 2024-08-22 12:26:42 -04:00
parent 101d364241
commit 064784c9d7
Signed by: cswimr
GPG key ID: 3813315477F26F82

View file

@ -37,7 +37,7 @@ class Note(Type):
@classmethod @classmethod
async def handler(cls, ctx: commands.Context, target: Member | User, silent: bool, reason: str) -> 'Note': async def handler(cls, ctx: commands.Context, target: Member | User, silent: bool, reason: str) -> 'Note':
response = await ctx.send( response = await ctx.send(
content=f"{target.mention} has {cls.embed_desc}{cls.string}!\n**Reason** - `{reason}`" content=f"{target.mention} has {cls.embed_desc}{cls.verb}!\n**Reason** - `{reason}`"
) )
if silent is False: if silent is False: