Add to get's return messages.
This commit is contained in:
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user