Commit graph

120 commits

Author SHA1 Message Date
32249364ff
feat: new committee member joins the committee server they automagically get roles 2024-10-28 21:40:48 +00:00
f1138a3c81
fix: moved the methods that changes role into their own module folder 2024-10-28 21:34:21 +00:00
61e76db8dd
feat: this should be able to update teh roles of commettee members on teh discord server 2024-10-28 21:17:44 +00:00
3e6dc9d560
feat: actually get the data for teh committees and pop it in the database 2024-10-28 14:20:36 +00:00
aff6299ac7
feat: added the committee request from wolves 2024-10-28 12:49:35 +00:00
bd80bda22f
feat: added rough code to get an individuals member_id 2024-10-28 02:06:24 +00:00
fe5aa5b252
prep: rough format for requesting data for an indivual and committee 2024-10-28 01:34:23 +00:00
273c58d035
fmt: re-organise the regular data request 2024-10-28 01:31:36 +00:00
3927734083
feat: split out minecraft 2024-10-28 01:06:21 +00:00
41407ecefb
feat: split out all the databse interactions into their own file 2024-10-28 00:59:04 +00:00
79f880daea
feat: splitting up lib.rs into subfiles, starting with anythign taht interacts with teh api 2024-10-28 00:51:39 +00:00
b2d8238c17
Merge branch 'main' into #17-automate-onboarding-mk-ii
# Conflicts:
#	.gitignore
#	src/commands/committee.rs
2024-10-27 23:56:48 +00:00
80c9191eee
fmt: more clippy that got missed
All checks were successful
On_Push / lint_fmt (push) Successful in 5s
On_Push / lint_clippy (push) Successful in 12s
On_Push / build (push) Successful in 1m49s
On_Push / deploy (push) Successful in 13s
2024-09-30 00:19:58 +01:00
1c3ccbecf5
fmt: not sure how this one slipped by
Some checks failed
On_Push / lint_fmt (push) Successful in 7s
On_Push / lint_clippy (push) Failing after 10s
On_Push / build (push) Has been skipped
On_Push / deploy (push) Has been skipped
2024-09-30 00:12:48 +01:00
0d9ce2de7f
fmt: fmt and clippy 2024-09-30 00:09:29 +01:00
5e7964ae26
feat: some cleanup in messages and added some handrails so folks wont add stupid combos 2024-09-30 00:03:03 +01:00
32292a3c0b
feat: tested out command and gt rid of the last few kinks 2024-09-29 23:47:33 +01:00
ffce78a10d
feat: command config for setting it up
(lsit command can come later to see the active ones)
2024-09-29 22:19:58 +01:00
7980739627
feat: new struct to mirror the databse 2024-09-29 21:39:27 +01:00
ec74dc0aa7
prep: skeleton to handle roles changing from other means 2024-09-29 21:04:08 +01:00
5b21bc47bd
fix: improve the comment back
Relates to #21
2024-09-29 20:07:01 +01:00
5e17a98bff
chore: remove old method, fix fmt of r# str
All checks were successful
On_Push / lint_fmt (push) Successful in 7s
On_Push / lint_clippy (push) Successful in 12s
On_Push / build (push) Successful in 1m49s
On_Push / deploy (push) Successful in 16s
2024-09-18 07:15:25 +01:00
0ab290a876
fmt: feckin fmt
All checks were successful
On_Push / lint_fmt (push) Successful in 5s
On_Push / lint_clippy (push) Successful in 10s
On_Push / build (push) Successful in 1m48s
On_Push / deploy (push) Successful in 12s
2024-09-18 00:03:53 +01:00
a62f893a98
fix: add logging and a default value for not null sql
Some checks failed
On_Push / lint_fmt (push) Failing after 9s
On_Push / lint_clippy (push) Successful in 11s
On_Push / build (push) Has been skipped
On_Push / deploy (push) Has been skipped
2024-09-17 23:57:46 +01:00
43c5cd2eff
test: switch from using HOME to DATABASE_HOME
All checks were successful
On_Push / lint_fmt (push) Successful in 5s
On_Push / lint_clippy (push) Successful in 11s
On_Push / build (push) Successful in 1m48s
On_Push / deploy (push) Successful in 13s
2024-09-17 23:20:31 +01:00
c71dbe7214
fix: optional parms must be after required ones 2024-09-17 22:26:46 +01:00
bf08aa650c
fmt: unwraps changed to ? 2024-09-17 22:13:30 +01:00
f3ef03a418
fmt: fmt and clippy 2024-09-17 22:11:34 +01:00
11240914ac
fix: role_current needednt have been an Option 2024-09-17 22:08:20 +01:00
e9aed40f41
fix: these opotions are actually required 2024-09-17 21:48:33 +01:00
0df7c8a29f
feat: using teh vars from teh DB now 2024-09-17 21:48:33 +01:00
4998dba225
fmt: remove an unneeded unwrap (?) 2024-09-17 21:48:33 +01:00
8d1c6b1bd1
feat: updated command to get the extra information on signup 2024-09-17 21:48:33 +01:00
d3a975a1d1
feat: made database changes to handle the extra server data 2024-09-17 21:48:33 +01:00
0e1a7d56b6
feat: remove teh temp setup 2024-09-17 11:02:26 +01:00
04a487cd8f
fix: rename `get_wolves` to be just for clubs/socs 2024-09-17 11:02:26 +01:00
Skynet
5f4e46bb51
Initiating world domination 2024-09-17 09:00:07 +01:00
28b911c468
fix: channel link 2024-09-17 08:46:05 +01:00
e7caf148dd
Merge branch 'main' of https://forgejo.skynet.ie/Skynet/discord-bot into new-member-message 2024-09-17 08:24:27 +01:00
9452c0ac2e
feat: bump up rust version and a big cleanup
All checks were successful
On_Push / lint_fmt (push) Successful in 1m9s
On_Push / lint_clippy (push) Successful in 4m4s
On_Push / build (push) Successful in 10m16s
On_Push / deploy (push) Successful in 12s
Also added an example .env

This will break stuff (briefly)
2024-09-17 00:21:07 +01:00
557dcb9f8c
fix: clippy 2024-09-16 20:36:25 +01:00
b75fa39bcf
feat: change channel id based on server 2024-09-16 20:14:45 +01:00
986d2f19c9
Revert "fix: take out of else, should run regardless"
This reverts commit cfb5d95be4.
2024-09-16 19:46:12 +01:00
cfb5d95be4
fix: take out of else, should run regardless 2024-09-16 19:15:45 +01:00
7ed20108fb
fix: clippy 2024-09-16 18:49:28 +01:00
c63945bb86
feat: send new members instructions to link wolves 2024-09-16 18:42:18 +01:00
8ba92cc47e
api: include missing field
All checks were successful
On_Push / lint_fmt (push) Successful in 5s
On_Push / lint_clippy (push) Successful in 12s
On_Push / build (push) Successful in 1m45s
On_Push / deploy (push) Successful in 12s
2024-09-02 13:51:58 +01:00
50d2923425
fmt: fmt and clippy
All checks were successful
On_Push / lint_fmt (push) Successful in 6s
On_Push / lint_clippy (push) Successful in 3m58s
On_Push / build (push) Successful in 1m46s
On_Push / deploy (push) Successful in 12s
2024-08-31 19:24:14 +01:00
5c2502f726
fix: small fixes to actually make it work 2024-08-31 19:24:14 +01:00
bda3fbe2ad
feat: import and use the commands 2024-08-31 19:24:13 +01:00