Commit graph

141 commits

Author SHA1 Message Date
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
4125ad634f fix: will now restart if any of the env files are updated 2023-10-24 17:44:47 +01:00
b0028959ff fmt: fmt and clippy 2023-10-02 09:22:52 +01:00
d7b5cd36ea fix: last remaining uses of a username over ID 2023-10-02 09:15:50 +01:00
058fe2538a fix: was still using the username in some palces instead of ID 2023-09-28 18:25:03 +01:00
70690f712e fix: was incorrectly getting roles/id's from null 2023-09-28 17:54:12 +01:00
6a0b664e7d Merge branch '#4-id-instead-of-name' into 'main'
feat: completed migration

Closes #4

See merge request compsoc1/skynet/discord-bot!2
2023-09-26 00:16:24 +00:00
abb00ff8c7 fmt: danm formatting 2023-09-26 01:04:07 +01:00
8760f4440a feat: completed migration
Closes #4
2023-09-26 00:57:03 +01:00