Commit graph

322 commits

Author SHA1 Message Date
Roman Moisieiev
d70a037057 Blame: ignore Fix Typos commit 2025-09-11 12:36:48 +01:00
Roman Moisieiev
7e90f45196 Fix typos 2025-09-11 12:36:03 +01:00
7526a82bb7
feat: kill the service if it persists longer than 9 min 2025-09-04 23:11:24 +01:00
3149a5f99f Bump 2 2025-08-31 11:55:35 +00:00
061b73378a Bump the bot 2025-08-31 11:51:57 +00:00
a225c14b4f
fix: was ddossing the poor database
guild_members_chunk is triggered for each chunk for each server it is on, and the bot is currently in 10 servers so it was runnign teh same thigns 10 times, clogging up conenctions
2025-07-21 04:29:03 +01:00
095ff6f2ce
fix: better handling of returning teh committees 2025-07-21 02:52:59 +01:00
18fd45d39b Merge pull request '#40_Improve_Preformance' (#41) from #40_Improve_Preformance into main
Reviewed-on: Skynet/discord-bot#41

Closes #40
2025-07-21 01:06:27 +00:00
854e946a8f
ci: improve the pipeline to test for the full suite
ci: dont pull in the lfs for teh PR pipeline build
ci: checkout without LFS
ci: see if using the ref directly will help
ci: test a slight modification
ci: see if new get ldfs script works
ci: test using teh new v8
2025-07-21 01:59:36 +01:00
d0726169ee
clippy: changes from nightly clippy
all of this is embeding teh var into teh format macro
2025-07-21 00:50:20 +01:00
9d409e3692
fmt: clippy and nightly fmt 2025-07-21 00:38:59 +01:00
57d4947edf
fix: no longer needint to wait until the cache in teh main program is filled 2025-07-20 23:48:05 +01:00
6d08312f48
fix: these were not using teh cache to access teh member/role data
*was executing before teh cache was built (``cache_ready`` is only when teh cache has been init, not when it is populated)
2025-07-20 23:46:30 +01:00
bd9d0cd43f
fix: these do not need to use teh cache 2025-07-20 23:44:13 +01:00
1af7f28a45
feat: restore teh original services, giving up the logging and control was too much 2025-07-20 23:40:34 +01:00
feff293043
feat: moved the update server icon to the main thread 2025-07-20 23:12:02 +01:00
227db8a741
feat: moved the update data to the main thread 2025-07-20 22:54:34 +01:00
13eb230754
fix: updating the wolves (user data) should not trigger a server update (directly).
That should always be triggered separately.
This was a holdover from a  time when updating teh users was expensive (timewise)
2025-07-20 22:48:04 +01:00
eb88216740
feat: removed the cronjob for updating the committee server 2025-07-20 22:33:56 +01:00
96eb81293b
feat: got the committee update running smoothly (using cache and far far faster due to fixing some logic issues) 2025-07-20 22:32:55 +01:00
5815cde38b
fmt: better wording for logs 2025-07-20 22:28:59 +01:00
1729ec0a54
feat: drastically speed up the committee server script, it no longer tries to remove the committee role from those who dont have it. 2025-07-20 22:26:51 +01:00
43ef787d59
fix: no need to pass in teh full object, a reference will do 2025-07-20 22:25:31 +01:00
a8bed0bacc
fix: was calling the wrong ctx 2025-07-20 20:43:46 +01:00
3dd81a5c54
feat: remove the update_users service 2025-07-20 20:40:15 +01:00
04aa0e63d4
feat: setup update users to be every 5 min while using the cache 2025-07-20 20:37:28 +01:00
2b2dfc2531
feat: cleaned up array that was used to count members/changes to a struct 2025-07-20 20:32:43 +01:00
e901f3ed74
feat: add caching to everything, should make all member interacts faster 2025-07-07 22:22:25 +01:00
3abbb8d485
feat: added script to clean up the committee server if it got flooded with extra channels 2025-07-07 22:18:04 +01:00
b8ffd42184
feat: the bot wasnt using any caching, this should make many operations far faster now 2025-07-07 21:29:37 +01:00
764e8cd620 Fix LFS on discord bot (#39)
Reviewed-on: Skynet/discord-bot#39

Thanks @esy
Co-authored-by: Daragh <esy@skynet.ie>
Co-committed-by: Daragh <esy@skynet.ie>
2025-07-06 23:28:51 +00:00
esy
76f8aa2712 Update README.md 2025-07-06 18:12:04 +00:00
c4da3e9109
fix: only allow image files to be chosen 2025-07-05 15:31:53 +01:00
d27befdac6 Merge pull request 'Add command for link to documentation' (#38) from #37_add-documentation-command into main
Reviewed-on: Skynet/discord-bot#38
2025-06-23 23:16:41 +00:00
7403f531eb
feat: the backend is pretty simple, just pull the rep link from teh config_toml and add on the path to the docs.
Then its just linking it all up.

Closes #37
2025-06-24 00:13:29 +01:00
1dc5c105df
fix: needed to add git and git lfs to teh path of the service 2025-06-18 03:57:04 +01:00
3a56d7bba5
feat: lock the `nix build` to using the repo rust version 2025-06-17 16:21:57 +01:00
327ff99b69
fix: the pipeline got caught on a lint
This isnt in the 1.87 rustfmt but its stilla  good catch
2025-06-17 16:21:15 +01:00
dedf8c3644 Merge pull request '#35_remove-hardcoded-servers' (#36) from #35_remove-hardcided-servers into main
Reviewed-on: Skynet/discord-bot#36

Closes #35
2025-06-17 14:56:57 +00:00
a6eff75e39
feat: use values from teh env file to dictate the servers 2025-06-17 15:38:15 +01:00
72226cc59b
feat: add support for passing teh compsoc server id via env 2025-06-17 15:38:15 +01:00
f841039c53
fix: was pulling in the wrong env var 2025-06-17 15:38:15 +01:00
87dd04e12f Merge pull request 'Automatically change server icon daily' (#33) from #32_rotating-server-icon into main
Reviewed-on: Skynet/discord-bot#33

Closes #32
2025-06-17 14:35:43 +00:00
9134feee4e
feat: cleaned up remaining unwraps, and then clippy+fmt 2025-06-16 21:56:06 +01:00
652dd6ff1c
ci: add workflow to check for lfs status 2025-06-16 21:56:06 +01:00
cae383a186
feat: set up the systemd timer for teh binary 2025-06-16 21:56:06 +01:00
b4cadffdb5
fmt: for whenever it gets stabised (or we use nightly) this would be really good for cleaning up imports 2025-06-16 21:56:06 +01:00
721c8246ac
todo: add a todo where teh mc commands get moved in under committee 2025-06-16 21:56:06 +01:00
0f4524ea63
feat: tidied up the command outouts 2025-06-16 21:56:06 +01:00
86f54aec6d
feat: got the commands mostly working, will need some further fine tuning 2025-06-16 21:56:05 +01:00