This commit is contained in:
Natsu Kagami 2024-03-31 19:42:37 +02:00
parent a2f0684509
commit 27cab90734
Signed by: nki
GPG key ID: 55A032EB38B49ADB
7 changed files with 13 additions and 13 deletions

View file

@ -107,7 +107,7 @@ pub async fn profile(ctx: &Context, m: &Message, mut args: Args) -> CommandResul
}
#[command]
#[description = "Link your Codeforces account to the Discord account, to enjoy Youmu's tracking capabilities."]
#[description = "Link your Codeforces account to the Discord account, to enjoy Arona's tracking capabilities."]
#[usage = "[handle]"]
#[num_args(1)]
pub async fn save(ctx: &Context, m: &Message, mut args: Args) -> CommandResult {

View file

@ -119,7 +119,7 @@ pub async fn watch_contest(
channel
.send_message(
ctx,
CreateMessage::new().content(format!("Contest **{}** found, but has not started yet. Youmu will start watching as soon as it begins! (which is in about {})", contest.name, start_time.format("<t:%s:R>")))
CreateMessage::new().content(format!("Contest **{}** found, but has not started yet. Arona will start watching as soon as it begins! (which is in about {})", contest.name, start_time.format("<t:%s:R>")))
)
.await?;
tokio::time::sleep(
@ -133,7 +133,7 @@ pub async fn watch_contest(
let mut msg = channel
.send_message(
&ctx,
CreateMessage::new().content("Youmu is building the member list..."),
CreateMessage::new().content("Arona is building the member list..."),
)
.await?;
@ -167,7 +167,7 @@ pub async fn watch_contest(
msg.edit(
&ctx,
EditMessage::new().content(format!(
"Youmu is watching contest **{}**, with the following members: {}",
"Arona is watching contest **{}**, with the following members: {}",
contest.name,
member_results
.values()

View file

@ -21,7 +21,7 @@ struct Admin;
#[command]
#[aliases("cleanall")]
#[required_permissions(MANAGE_MESSAGES)]
#[description = "Clean at most X latest messages from the current channel (only clean Youmu's messages in DMs). Defaults to 10."]
#[description = "Clean at most X latest messages from the current channel (only clean Arona's messages in DMs). Defaults to 10."]
#[usage = "clean 50"]
#[min_args(0)]
#[max_args(1)]

View file

@ -450,7 +450,7 @@ mod reaction_watcher {
let mut msg = channel
.send_message(
&ctx,
CreateMessage::new().content("Youmu is setting up the message..."),
CreateMessage::new().content("Arona is setting up the message..."),
)
.await?;
self.setup(&mut msg, ctx, guild, title, roles).await

View file

@ -81,7 +81,7 @@ async fn roll(ctx: &Context, msg: &Message, mut args: Args) -> CommandResult {
#[command]
#[description = r#"👈 Pick a choice from the available list of choices.
You may prefix the first choice with `?` to make it a question!
If no choices are given, Youmu defaults to `Yes!` and `No!`"#]
If no choices are given, Arona defaults to `Yes!` and `No!`"#]
#[usage = "[?question]/[choice #1]/[choice #2]/..."]
#[example = "?What for dinner/Pizza/Hamburger"]
async fn pick(ctx: &Context, msg: &Message, mut args: Args) -> CommandResult {
@ -125,7 +125,7 @@ async fn pick(ctx: &Context, msg: &Message, mut args: Args) -> CommandResult {
msg.reply(
&ctx,
MessageBuilder::new()
.push("Youmu picks 👉")
.push("Arona picks 👉")
.push_bold_safe(choice)
.push("👈!")
.build(),
@ -138,7 +138,7 @@ async fn pick(ctx: &Context, msg: &Message, mut args: Args) -> CommandResult {
MessageBuilder::new()
.push("you asked ")
.push_bold_safe(s)
.push(", and Youmu picks 👉")
.push(", and Arona picks 👉")
.push_bold_safe(choice)
.push("👈!")
.build(),
@ -174,7 +174,7 @@ async fn name(ctx: &Context, msg: &Message, mut args: Args) -> CommandResult {
// Rule out a couple of cases
if user_id == ctx.http.get_current_user().await?.id {
// This is my own user_id
msg.reply(&ctx, "😠 My name is **Youmu Konpaku**!").await?;
msg.reply(&ctx, "😠 My name is **Arona**!").await?;
return Ok(());
}

View file

@ -74,7 +74,7 @@ pub mod prelude_commands {
use crate::announcer::ANNOUNCERCOMMANDS_GROUP;
#[group("Prelude")]
#[description = "All the commands that makes the base of Youmu"]
#[description = "All the commands that makes the base of Arona"]
#[commands(ping)]
#[sub_groups(AnnouncerCommands)]
pub struct Prelude;

View file

@ -78,7 +78,7 @@ pub async fn paginate_reply(
timeout: std::time::Duration,
) -> Result<()> {
let message = reply_to
.reply(&ctx, "Youmu is loading the first page...")
.reply(&ctx, "Arona is loading the first page...")
.await?;
paginate_with_first_message(pager, ctx, message, timeout).await
}
@ -94,7 +94,7 @@ pub async fn paginate(
let message = channel
.send_message(
&ctx,
CreateMessage::new().content("Youmu is loading the first page..."),
CreateMessage::new().content("Arona is loading the first page..."),
)
.await?;
paginate_with_first_message(pager, ctx, message, timeout).await