named colours, better output for register and name command

This commit is contained in:
2024-12-08 22:53:32 -05:00
parent 0def108010
commit 3b8556e353
3 changed files with 39 additions and 15 deletions

View File

@@ -34,7 +34,7 @@ pub async fn name(ctx: Context<'_>, name: String) -> Result<(), Error> {
guild.edit_role(ctx, role, EditRole::new().name(name)).await?;
let role = guild.role(ctx, role).await?;
ctx.reply(format!("Your custom role's name has been updated to {}.", role)).await?;
ctx.reply(format!("{} has been updated.", role)).await?;
Ok(())
} else {