#[allow(non_snake_case)] on announceChallenge

This commit is contained in:
Elnu 2022-02-17 14:07:42 -08:00
parent 0741d18c48
commit 531e108bdb

View file

@ -166,6 +166,7 @@ async fn announce(ctx: &Context, msg: &Message, args: Args) -> CommandResult {
#[command]
#[owners_only]
#[allow(non_snake_case)]
async fn announceChallenge(ctx: &Context, msg: &Message) -> CommandResult {
let challenge_number = get_challenge_number();
let message = format!("Welcome to the **{n}{th}** weekly **Tegaki Tuesday** (手書きの火曜日) handwriting challenge! :pen_fountain: The prompt is available in both Japanese and English on the website at <https://tegakituesday/{n}>.