Compare commits

..

27 commits

Author SHA1 Message Date
e4fe3a8544
feat: cleaned up remaining unwraps, and then clippy+fmt
All checks were successful
/ check_lfs (push) Successful in 15s
/ check_lfs (pull_request) Successful in 30s
2025-06-16 06:14:53 +01:00
276cbfee90
ci: add workflow to check for lfs status 2025-06-16 05:27:11 +01:00
76d278143d
feat: set up the systemd timer for teh binary 2025-06-16 05:26:00 +01:00
5699744816
fmt: for whenever it gets stabised (or we use nightly) this would be really good for cleaning up imports 2025-06-16 05:22:30 +01:00
0665c741bc
todo: add a todo where teh mc commands get moved in under committee 2025-06-16 05:21:05 +01:00
7b5b106b38
feat: tidied up the command outouts 2025-06-16 05:19:58 +01:00
bb8648f1b5
feat: got the commands mostly working, will need some further fine tuning 2025-06-16 04:31:21 +01:00
cccce919ea
feat: pull the config for the festivals locally, using teh imported repo 2025-06-16 00:28:42 +01:00
00f3cab8bf
feat: split out the functions so they can be shared with commands 2025-06-15 22:07:52 +01:00
b9b3a4f3ed
fmt: cargo+clippy 2025-06-14 18:00:40 +01:00
65e0c88dcf
feat: save the selected image to teh library 2025-06-14 16:46:04 +01:00
a2fcbb8e27
fix: properly filter icon based on the festival 2025-06-14 15:54:07 +01:00
ac59474ad6
feat: allow for overlapping festivals 2025-06-10 16:54:13 +01:00
cad248d506
fix: give a reference where it needed to be 2025-06-08 00:20:38 +01:00
ebc802dbea
feat: can now set the server icon programmatically 2025-06-08 00:18:30 +01:00
1b9dd6e7b5
feat: get a random image 2025-06-07 23:53:32 +01:00
8cd3cd8e66
feat: only need to keep whatever ones are in teh current season (if at all) 2025-06-07 23:04:57 +01:00
7cce9c2a21
fix: only convert if it hasnt already been converted 2025-06-07 23:02:16 +01:00
1de21e378c
feat: put the converted files into a subfolder 2025-06-07 22:44:47 +01:00
e8694b1342
fix: was being too strict in matching the year 2025-06-07 22:29:00 +01:00
01fadccb5c
fix: use a struct for clarity 2025-06-07 21:24:59 +01:00
8c39745248
feat: got the logos, and converted them if needs be 2025-06-07 19:55:36 +01:00
026d94cb83
feat: code borrowed from https://github.com/MCorange99/svg2colored-png/tree/main in order to convert from svg to png 2025-06-07 01:05:08 +01:00
2b9b502a33
feat: initial tests of new function to handle changing the logo in discord server 2025-06-07 00:10:52 +01:00
79bb91368c
feat: added libraries needed to run the new feature 2025-06-07 00:09:22 +01:00
cf01e26a8c
feat: need some new inputs to get this to build 2025-06-06 23:59:00 +01:00
ef5375067a
feat: update teh base rust version 2025-06-06 18:50:10 +01:00
2 changed files with 2 additions and 2 deletions

View file

@ -31,7 +31,7 @@ pub(crate) mod user {
// user has to have previously linked with wolves // user has to have previously linked with wolves
if get_server_member_discord(&db, &command.user.id).await.is_none() { if get_server_member_discord(&db, &command.user.id).await.is_none() {
return "Not linked with wolves, please use ``/wolves link`` with your wolves email.".to_string(); return "Not linked with wolves, please use ``/link_wolves`` with your wolves email.".to_string();
} }
let sub_options = if let Some(CommandDataOption { let sub_options = if let Some(CommandDataOption {

View file

@ -77,7 +77,7 @@ impl EventHandler for Handler {
let msg = format!( let msg = format!(
r#" r#"
Welcome {} to the {} server! Welcome {} to the {} server!
Sign up on [UL Wolves]({}) and go to https://discord.com/channels/{}/{} and use ``/wolves link email_here`` with the email associated with your wolves account, to get full access. Sign up on [UL Wolves]({}) and go to https://discord.com/channels/{}/{} and use ``/link_wolves`` to get full access.
"#, "#,
new_member.display_name(), new_member.display_name(),
committee.name_full, committee.name_full,