Commit graph

73 commits

Author SHA1 Message Date
30287466cb
fix: cannot have an ID of 0 for any role, channel or server 2025-02-19 00:42:26 +00:00
86f71f0fa4
feat: updated more dependencies 2025-02-19 00:30:15 +00:00
6b84f33d2e
feat: bumped serenity to the latest version
Lots of changes to how it runs
2025-02-19 00:17:02 +00:00
b6cffd8a22
fix: trimmed down teh duplicates 2025-02-18 21:41:28 +00:00
1aef86ad01
feat: now properly sets and removes roles for committee members 2025-02-18 21:14:05 +00:00
cab04a068f
feat: fixed up the changes 2025-02-18 13:36:08 +00:00
c79113921d
Merge branch 'main' into #17-automate-onboarding-mk-ii
# Conflicts:
#	Cargo.lock
#	src/commands/link_email.rs
#	src/lib.rs
2025-02-17 17:30:25 +00:00
0a4f5281a5
fix: typo, always took users as being java
All checks were successful
On_Push / lint_fmt (push) Successful in 7s
On_Push / lint_clippy (push) Successful in 11s
On_Push / build (push) Successful in 1m24s
On_Push / deploy (push) Successful in 15s
2025-01-03 21:01:27 +00:00
a9d3af024e
feat: added some minor logging
All checks were successful
On_Push / lint_fmt (push) Successful in 12s
On_Push / lint_clippy (push) Successful in 18s
On_Push / build (push) Successful in 1m27s
On_Push / deploy (push) Successful in 18s
2025-01-03 19:58:00 +00:00
0478f634fa
feat; modified the command that interacts with teh server to accomodate bedrock players
Some checks failed
On_Push / lint_clippy (push) Failing after 3m22s
On_Push / lint_fmt (push) Failing after 5s
On_Push / build (push) Has been skipped
On_Push / deploy (push) Has been skipped
For #26
2024-11-30 00:55:23 +00:00
ee0c8f0987
feat; can now handle bedrock in the command
For #26
2024-11-30 00:44:36 +00:00
ad94b197ae
fix: pretty solid chance that this was due to using teh wrong base url
All checks were successful
On_Push / lint_fmt (push) Successful in 11s
On_Push / lint_clippy (push) Successful in 3m27s
On_Push / build (push) Successful in 8m8s
On_Push / deploy (push) Successful in 7s
2024-11-24 00:14:42 +00:00
1f3c33458e
dbg: excessive logging
All checks were successful
On_Push / lint_fmt (push) Successful in 10s
On_Push / lint_clippy (push) Successful in 3m25s
On_Push / build (push) Successful in 8m6s
On_Push / deploy (push) Successful in 12s
2024-11-23 23:50:25 +00:00
37ea38f516
feat: backport changes from the #17-automate-onboarding-mk-ii branch
Some checks failed
On_Push / lint_fmt (push) Failing after 38s
On_Push / lint_clippy (push) Failing after 38s
On_Push / build (push) Has been skipped
On_Push / deploy (push) Has been skipped
2024-11-23 22:17:57 +00:00
77a7b7b81d
fix: slight change in env var used to get teh base URL 2024-11-09 16:53:26 +00:00
e4a8cce725
feat: new env var for teh specific channel that the general chat stuff will be under 2024-11-09 16:17:43 +00:00
6739c7e068
feat: now use env vars to get teh server and roles for committee 2024-11-09 14:55:26 +00:00
733827c3e6
feat: added support for teh new api key 2024-11-09 01:17:43 +00:00
344d6d3585
fmt: formatting and clippy 2024-10-28 21:53:04 +00:00
f1138a3c81
fix: moved the methods that changes role into their own module folder 2024-10-28 21:34:21 +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
0d9ce2de7f
fmt: fmt and clippy 2024-09-30 00:09:29 +01:00
32292a3c0b
feat: tested out command and gt rid of the last few kinks 2024-09-29 23:47:33 +01:00
7980739627
feat: new struct to mirror the databse 2024-09-29 21:39:27 +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
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
4998dba225
fmt: remove an unneeded unwrap (?) 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
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
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
55b2e534d4 fmt: clippy and fmt 2024-06-03 04:06:47 +01:00
c2a6407ef0 feat: add a command to list minecraft servers 2024-06-03 03:04:12 +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
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
7e6d892b67 fix: was not recreating the empty whitelist before refreshing 2024-03-04 22:43:52 +00:00
2c28f3edcc feat: added command to automatically update the mc whitelist 2024-03-03 14:40:37 +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