Commit graph

149 commits

Author SHA1 Message Date
1d14499400 ci: had poor package name 2024-06-03 23:15:29 +01:00
d8b232b546 ci: improvements to building in pipeline 2024-06-03 23:06:27 +01:00
7c2d392e35 ci: need to have the experimental flag to do a build using flakes 2024-06-03 21:10:28 +01:00
9654963198 ci: build the bot in nix in order to cache it early on 2024-06-03 21:01:21 +01:00
0541a70714 fix: new nix cache due to a network issue on my end 2024-06-03 20:52:22 +01:00
15720a1f13 doc: better documentation 2024-06-03 18:23:54 +01:00
86bb566e5e ci: typo in the name of teh Cargo files 2024-06-03 05:09:24 +01:00
c90186295c ci: the cache was not doing much, only delaying stuff..... 2024-06-03 05:07:53 +01:00
acb6432129 fix: better info on the servers 2024-06-03 05:01:53 +01:00
55b2e534d4 fmt: clippy and fmt 2024-06-03 04:06:47 +01:00
9481358068 feat: added a delete server command 2024-06-03 03:56:45 +01:00
33cebe7782 fix: slight improvement for g_id 2024-06-03 03:49:35 +01:00
c2a6407ef0 feat: add a command to list minecraft servers 2024-06-03 03:04:12 +01:00
2970549eb0 fix: rename add command 2024-06-03 02:21:21 +01:00
d549627714 fmt: reorganisation 2024-06-03 02:16:28 +01:00
87e836619f fix: re-order commands 2024-06-03 02:06:35 +01:00
0f774258a1 feat: added support for multiple minecraft servers per discord server
Closes #9
2024-06-03 02:04:26 +01:00
c446c10f2d feat: added Minecraft struct 2024-06-03 01:23:57 +01:00
9c284f2a5c feat: removed minecraft from server struct 2024-06-03 01:19:41 +01:00
d58d837940 feat: sql to migrate to new format 2024-06-03 01:19:14 +01:00
ed4c46e81d flake: format it 2024-05-12 16:24:48 +01:00
982b9defd4 flake: add caches 2024-05-12 16:23:31 +01:00
6cbbab80bd fmt: clippy and fmt 2024-05-06 02:12:26 +01:00
d0b63190b3 fix: better handling of multiple cns sharing minecraft servers 2024-05-06 02:09:02 +01:00
3d925fcfff feat: wolves API is changing to be more inclusive 2024-03-28 12:51:48 +00:00
cf2c7683d2 feat: split out the minecraft script so it runs at 5am instead of regularly 2024-03-05 19:55:38 +00:00
7e6d892b67 fix: was not recreating the empty whitelist before refreshing 2024-03-04 22:43:52 +00:00
bbd55202bd fix: make parameter clearer 2024-03-03 16:46:53 +00:00
bd74cdd09b Merge branch '#7-minecraft-link' into 'main'
#7 minecraft link

See merge request compsoc1/skynet/discord-bot!5
2024-03-03 15:05:42 +00:00
2c28f3edcc feat: added command to automatically update the mc whitelist 2024-03-03 14:40:37 +00:00
f417b9993a feat: added teh user facing command 2024-03-03 13:59:23 +00:00
0d0a50c84b feat: added teh user facing command 2024-03-03 13:58:10 +00:00
4a1b1cc7f9 fix: hadnt changed the command name 2024-03-03 13:04:10 +00:00
d5877e99e6 feat: server side aspects of adding minecraft whitelist added 2024-03-03 12:49:55 +00:00
2761098c8d feat: made a function to check if a user has admin perms 2024-03-03 00:53:31 +00:00
a9f55da04d feat: got migrations working!!!! 2024-03-03 00:18:46 +00:00
480fc9b1a0 feat: make the command more unique/descriptive 2024-03-02 21:45:43 +00:00
4bd23e7638 [skip ci] doc: added readme/instructions for using the bot 2024-01-12 19:42:24 +00:00
9dafba03b5 fix: was not actually running the update users hourly 2024-01-02 17:06:24 +00:00
c6eaa8ad9a Merge branch '#6-incrimental-updating' into 'main'
feat: updating teh data from wolves should now also update roles for whoever changed.

See merge request compsoc1/skynet/discord-bot!4
2023-11-25 21:30:43 +00:00
3779222a38 feat: updating teh data from wolves should now also update roles for whoever changed.
This should lead to faster activations of folks who have previously linked, join a server, then get membership.

Closes #6
2023-11-25 21:15:07 +00:00
7303b5782c fix: wasnt giving users role on joining. 2023-11-23 22:23:31 +00:00
1e486d7a57 fix: make sure that wolves data is pulled in before roles are ran 2023-11-23 21:53:27 +00:00
5745118ede fix: dont need to needlessly call discord 2023-11-23 16:13:18 +00:00
66446e8df8 feat: will update users when there are changes made to teh server config 2023-11-23 16:12:28 +00:00
432dd0e4a0 fix: updating the email field
Relates to #5, https://gitlab.skynet.ie/compsoc1/skynet/ldap/backend/-/issues/20
2023-10-27 11:53:54 +01:00
b228c4a061 Merge branch '#5_wolves-api' into 'main'
feat: modified the flake to use the new api

Closes #5

See merge request compsoc1/skynet/discord-bot!3
2023-10-27 01:51:02 +00:00
88f9e8d744 feat: remove the last traces of the csv 2023-10-27 01:46:42 +01:00
68c6894727 feat: modified the flake to use the new api
Closes #5
2023-10-27 01:40:57 +01:00
49363d02aa feat: modified to use the wolves api 2023-10-27 01:39:03 +01:00