Commit graph

122 commits

Author SHA1 Message Date
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
f11fdb4dde feat: conversion script 2023-09-25 18:50:33 +01:00
119a86b0ac doc: better responses 2023-09-18 09:52:02 +01:00
3bf085204e fix: preserve data wherever possible 2023-09-18 00:03:25 +01:00
ab2c695409 fix: better messages 2023-09-17 22:04:46 +01:00
8413023a2a fix: tweeked the timing for setting roles automatically 2023-09-17 21:34:36 +01:00
56aaf107d6 feat: when a user links their mail it will also activate any roles 2023-09-17 21:33:36 +01:00
6eb61c6798 fix: better compiund types because of a join 2023-09-17 21:17:57 +01:00
36e6bea543 fix: now actually properly gets teh skynet server details 2023-09-17 21:02:41 +01:00
69cb8e9a3f fix: actually run the extra scripts 2023-09-17 20:10:06 +01:00
1300b7f6ec feat: added the two scripts to systemd 2023-09-17 19:43:27 +01:00
83aee45d7b feat: added command to add the details to teh bot for a server 2023-09-17 19:30:59 +01:00
fa6920e4a3 fix: no need to have this being passed in here 2023-09-17 18:09:02 +01:00
a444d6a5e5 feat: can now verify the user got the email 2023-09-17 18:00:05 +01:00
98e61d7548 fmt: package it better 2023-09-17 15:35:41 +01:00
14cbf0bcad feat: basic setup for link slash command 2023-09-17 15:25:17 +01:00
591c61b009 feat: now using seperate tables for key info, joined when needed 2023-09-17 00:14:50 +01:00
f405cbbb93 feat: start of slash commands 2023-09-16 22:47:26 +01:00
92ebe3b931 feat: added a pipeline 2023-09-16 20:15:10 +01:00
2162c4a824 Merge branch '#3-wolves-api' into 'main'
#3 wolves api

See merge request compsoc1/skynet/discord-bot!1
2023-09-16 19:10:06 +00:00