From 4416e5d175631c416e28ae8e56706dbd3da76409 Mon Sep 17 00:00:00 2001 From: jude Date: Mon, 8 May 2023 17:32:59 +0100 Subject: [PATCH] Remove need to supply webhook avatar --- .gitignore | 2 -- README.md | 1 - assets/webhook.jpg | Bin 0 -> 21474 bytes src/consts.rs | 8 ++------ 4 files changed, 2 insertions(+), 9 deletions(-) create mode 100644 assets/webhook.jpg diff --git a/.gitignore b/.gitignore index 7ff6907..1b9cd34 100644 --- a/.gitignore +++ b/.gitignore @@ -2,6 +2,4 @@ .env /venv .cargo -assets -out.json /.idea diff --git a/README.md b/README.md index 6c02ab5..a06e573 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,6 @@ You'll need rustc and cargo for compilation. To run, you'll need Python 3 still 6. Run migrations: `sqlx migrate run`. 7. Set environment variables: * `DATABASE_URL` - the URL of your MySQL database (`mysql://user[:password]@domain/database`) - * `WEBHOOK_AVATAR` - accepts the name of an image file located in `$CARGO_MANIFEST_DIR/assets/` to be used as the avatar when creating webhooks. **IMPORTANT: image file must be 128x128 or smaller in size** 8. Build: `cargo build --release` ### Compiling for other target diff --git a/assets/webhook.jpg b/assets/webhook.jpg new file mode 100644 index 0000000000000000000000000000000000000000..ee2609882bf3c3a6b7e30b5a9c94f840c760f889 GIT binary patch literal 21474 zcmeHvcf8xw6~Etm*#oi&Bn0wEm@zN1Wy>QZ0WDjyEnBiJFQ8ycvLs8kJY-vTSuK>d zKugOA8_FoNg%-*z1xlfmQD`VMj203`*`ot!p)|j1JIQ+qNjiSN-+$HnJp0^nzW3a7 z&b>PKO4pm8+q}^>ClsIqwxOXR8wLJso8Pk?&MJm!G!&yc>RRcr`7oLpdC%6n=JaaV zhQQyJ@6DTR3rR~Y+H4GCTLH?Z^{N4sS7v2s96yeY#{zVO1n@T7EGnW_jNv&pTe)J^ z<3VgRlg*7zebP2;n{Jz8bJ}cqp;2WLfn*PXCh^e*sMMp!uaAER+6LEe$0&AmbUgpx zqUH+Kx(UQ*L2Z{PH3UGP257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V|Z?X5rPkA3ptPnTa1d1k}cZ#&>N z{_#`g;^lXrDc<$#Kb^c3y8i?G)ZDA)jmD;P9{coa@t2##rDVZdqChq9+-Sp)n=PpTJh11%{LYuG$o = ( - include_bytes!(concat!( - env!("CARGO_MANIFEST_DIR"), - "/assets/", - env!("WEBHOOK_AVATAR", "WEBHOOK_AVATAR not provided for compilation") - )) as &[u8], - env!("WEBHOOK_AVATAR"), + include_bytes!(concat!(env!("CARGO_MANIFEST_DIR"), "/assets/webhook.jpg")) as &[u8], + "webhook.jpg", ) .into(); pub static ref REGEX_CHANNEL_USER: Regex = Regex::new(r#"\s*<(#|@)(?:!)?(\d+)>\s*"#).unwrap();