From f722eb1a8376991fd6cbfb938475b41433141548 Mon Sep 17 00:00:00 2001 From: imcompiling Date: Fri, 14 Mar 2025 17:05:39 -0400 Subject: [PATCH] Add to get's return messages. --- cogs/commands/get.py | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/cogs/commands/get.py b/cogs/commands/get.py index 4f62177..e05e72f 100644 --- a/cogs/commands/get.py +++ b/cogs/commands/get.py @@ -50,7 +50,7 @@ class GetCog(commands.Cog, name="Get command."): return await interaction.response.send_message( - f"{category.name} is sorted in {'ascending' if category.is_ascending else 'descending'} order.", + f"**{category.name}** is sorted in **{'ascending' if category.is_ascending else 'descending'}** order.", ephemeral=True, ) @@ -109,7 +109,9 @@ class GetCog(commands.Cog, name="Get command."): await interaction.response.send_message("Group or Category was not found.", ephemeral=True) return - await interaction.response.send_message(f"{category.name} has a size of {category.size}.", ephemeral=True) + await interaction.response.send_message( + f"**{category.name}** has a size of **{category.size}**.", ephemeral=True + ) @get.subcommand(description="Commands for getting group information.") async def group(self, interaction: nextcord.Interaction) -> None: @@ -136,7 +138,7 @@ class GetCog(commands.Cog, name="Get command."): return await interaction.response.send_message( - f"{group.name} has a pad length of {group.pad_length}.", ephemeral=True + f"**{group.name}** has a pad length of **{group.pad_length}**.", ephemeral=True ) @group.subcommand(description="Get the username length of a group.") @@ -162,7 +164,7 @@ class GetCog(commands.Cog, name="Get command."): return await interaction.response.send_message( - f"{group.name} has a username length of {group.username_length}.", ephemeral=True + f"**{group.name}** has a username length of **{group.username_length}**.", ephemeral=True ) @is_ascending.on_autocomplete("category_id")