Commit graph

150 commits

Author SHA1 Message Date
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
16879909e8 fmt: fmt 2023-09-16 20:05:50 +01:00
5f9037c69b fix: only current uses are activated 2023-09-16 20:03:58 +01:00
3cf298f137 fix: better handle the csv data 2023-09-16 19:47:39 +01:00
55c042861f feat: get data does not need discord running 2023-09-16 18:07:13 +01:00
670a85d2ef feat: nailing down teh format 2023-09-16 18:02:15 +01:00
974173857c fmt: fmt and clippy 2023-09-11 20:03:56 +01:00
a745d7631d feat: basic rough structure for api calls 2023-09-11 20:02:16 +01:00
6b08f82e2c feat: now using proper types for the guild and user ID's 2023-09-11 18:18:59 +01:00
ca6ae993c5 feat: now have two scripts that can run ona timer 2023-09-11 02:25:07 +01:00
cb363e6558 feat: need a user, group and home to run this 2023-09-10 22:38:19 +01:00
87aa806397 feat: some dependencies we will need to interact with a local db, csv's and email 2023-09-10 22:33:35 +01:00
c3161315fe feat: email details will be passed in as an env file 2023-09-10 22:33:00 +01:00
e6f3b5f158 fix: these values need to be strings 2023-08-27 23:30:35 +01:00
56a032beb8 feat: set up flake
This Closes #1
2023-08-27 19:14:29 +01:00
802f3fce59 feat: fmt and clippy 2023-08-27 17:38:30 +01:00
9b42187b22 feat: now using an env file 2023-08-27 17:30:54 +01:00
1694c4eebf feat: config is now shared 2023-08-27 16:51:55 +01:00
58def2e01e feat: when someone joins, if their account name is in the list then they are automatically added 2023-08-27 15:58:03 +01:00
f382784141 feat: can now fetch data from teh ldap api 2023-08-27 15:39:09 +01:00
d66f7895bc feat: now have a member count across all threads 2023-08-26 16:26:39 +01:00
89e81b575c feat: function to go through all the users and assign roles 2023-08-26 15:55:07 +01:00
9a158701a9 initial commit, bot "works" 2023-08-25 23:36:46 +01:00