Skip to content

Commit

Permalink
chore: /report -> /dickens
Browse files Browse the repository at this point in the history
  • Loading branch information
jiegec committed Mar 3, 2024
1 parent c3245cb commit 28cba8f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions server/src/bot.rs
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@ pub enum Command {
Start(String),
#[command(description = "Queue all ready messages: /queue [archs]")]
Queue(String),
#[command(description = "Let dickens generate report for GitHub PR: /report pr-number")]
Report(String),
#[command(description = "Let dickens generate report for GitHub PR: /dickens pr-number")]
Dickens(String),
}

pub struct BuildRequest<'a> {
Expand Down Expand Up @@ -601,7 +601,7 @@ pub async fn answer(
}
}
}
Command::Report(arguments) => match str::parse::<u64>(&arguments) {
Command::Dickens(arguments) => match str::parse::<u64>(&arguments) {
Ok(pr_number) => {
// create octocrab instance
let crab = match octocrab::Octocrab::builder()
Expand Down

0 comments on commit 28cba8f

Please sign in to comment.