Compare commits

..

33 commits

Author SHA1 Message Date
9375395c76
feat: use values from teh env file to dictate the servers
All checks were successful
/ check_lfs (pull_request) Successful in 9s
/ check_lfs (push) Successful in 11s
2025-06-16 21:56:45 +01:00
ff8b50c65a
feat: add support for passing teh compsoc server id via env 2025-06-16 21:56:45 +01:00
45c595a71d
fix: was pulling in the wrong env var 2025-06-16 21:56:45 +01:00
38dcdd37b9
feat: cleaned up remaining unwraps, and then clippy+fmt 2025-06-16 21:56:45 +01:00
c713117c45
ci: add workflow to check for lfs status 2025-06-16 21:56:45 +01:00
a6d35ec8a8
feat: set up the systemd timer for teh binary 2025-06-16 21:56:45 +01:00
7663909867
fmt: for whenever it gets stabised (or we use nightly) this would be really good for cleaning up imports 2025-06-16 21:56:45 +01:00
7d3ca7f6f3
todo: add a todo where teh mc commands get moved in under committee 2025-06-16 21:56:44 +01:00
4d73c1e90d
feat: tidied up the command outouts 2025-06-16 21:56:44 +01:00
4c02b81e64
feat: got the commands mostly working, will need some further fine tuning 2025-06-16 21:56:44 +01:00
e6f16c2fa1
feat: pull the config for the festivals locally, using teh imported repo 2025-06-16 21:56:44 +01:00
6a533d9b86
feat: split out the functions so they can be shared with commands 2025-06-16 21:56:44 +01:00
a94bc3b835
fmt: cargo+clippy 2025-06-16 21:56:44 +01:00
99d554a6c0
feat: save the selected image to teh library 2025-06-16 21:56:44 +01:00
6771bca8b0
fix: properly filter icon based on the festival 2025-06-16 21:56:44 +01:00
244aac8738
feat: allow for overlapping festivals 2025-06-16 21:56:44 +01:00
a763562773
fix: give a reference where it needed to be 2025-06-16 21:56:44 +01:00
3dbf12c800
feat: can now set the server icon programmatically 2025-06-16 21:56:44 +01:00
47e1a9b0c7
feat: get a random image 2025-06-16 21:56:44 +01:00
1f8a19f817
feat: only need to keep whatever ones are in teh current season (if at all) 2025-06-16 21:56:44 +01:00
b877e8f467
fix: only convert if it hasnt already been converted 2025-06-16 21:56:44 +01:00
3e351f0020
feat: put the converted files into a subfolder 2025-06-16 21:56:44 +01:00
4e10015804
fix: was being too strict in matching the year 2025-06-16 21:56:44 +01:00
73702cc1f8
fix: use a struct for clarity 2025-06-16 21:56:44 +01:00
05e442a2d5
feat: got the logos, and converted them if needs be 2025-06-16 21:56:44 +01:00
680c95dece
feat: code borrowed from https://github.com/MCorange99/svg2colored-png/tree/main in order to convert from svg to png 2025-06-16 21:56:44 +01:00
7a792b9cbe
feat: initial tests of new function to handle changing the logo in discord server 2025-06-16 21:56:44 +01:00
c3c88b0f4f
feat: added libraries needed to run the new feature 2025-06-16 21:56:44 +01:00
9c8201d2eb
feat: need some new inputs to get this to build 2025-06-16 21:56:44 +01:00
cf95f4db62
feat: update teh base rust version 2025-06-16 21:56:44 +01:00
esy
8560ed6de5 Merge pull request 'correct command for linking wolves acc' (#31) from update-dm into main
All checks were successful
On_Push / lint_fmt (push) Successful in 1m26s
On_Push / lint_clippy (push) Successful in 6m31s
On_Push / build (push) Successful in 4m19s
On_Push / deploy (push) Successful in 23s
Reviewed-on: #31
Reviewed-by: silver <silver@skynet.ie>
2025-06-16 13:07:53 +00:00
esy
d28a56f255
fix: out of date command 2025-04-23 12:40:33 +01:00
esy
22ff91b152 correct command for linking wolves acc 2025-04-23 11:30:22 +00: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
if get_server_member_discord(&db, &command.user.id).await.is_none() {
return "Not linked with wolves, please use ``/link_wolves`` with your wolves email.".to_string();
return "Not linked with wolves, please use ``/wolves link`` with your wolves email.".to_string();
}
let sub_options = if let Some(CommandDataOption {

View file

@ -75,7 +75,7 @@ impl EventHandler for Handler {
let msg = format!(
r#"
Welcome {} to the {} server!
Sign up on [UL Wolves]({}) and go to https://discord.com/channels/{}/{} and use ``/link_wolves`` to get full access.
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.
"#,
new_member.display_name(),
committee.name_full,