Commit graph

55 commits

Author SHA1 Message Date
Aadi Desai b93194e57f
Remove non-member role when user is verified 2023-11-11 17:31:07 +00:00
Aadi Desai 1fc926a989
Add /up endpoint for uptime monitoring 2023-10-25 00:29:27 +01:00
Aadi Desai 125dca39b9
Update dependencies 2023-10-24 17:30:41 +01:00
Aadi Desai 6684bd1832
Fix refresh_non_members command
Add `defer` to prevent timeout
2023-10-15 15:58:02 +01:00
Aadi Desai 63c453d370
Add refresh_non_members command
Add field to `Data` to store `RoleId`
Command streams all members and checks for no roles, giving users `non-member` role
2023-10-15 15:20:20 +01:00
Aadi Desai a9ac1e5368
Update set_members_non_fresher command
Old method capped at 1000 members, streaming implementation will include all members
2023-10-15 14:38:40 +01:00
Aadi Desai 4a066e4f00
Remove old member role if present, else welcome 2023-10-12 00:25:11 +01:00
Aadi Desai 550080482c
Add membership flow code for Associate Union Members 2023-10-09 17:28:34 +01:00
Aadi Desai d9d89f2a1b
Update dependencies 2023-10-09 17:28:03 +01:00
Aadi Desai 4ddd0315f4
Enable clippy::pedantic lint in code
Add `allow` for unreachable async functions
Reduce unnecessary code in main function using 2 functions
2023-09-29 19:16:27 +01:00
Aadi Desai 497b4576bc
Split cmds.rs into submodules 2023-09-29 18:19:53 +01:00
Aadi Desai 8e40216174
Add Shuttle link to readme 2023-09-29 18:07:38 +01:00
Aadi Desai f57e02d1cf
Fix subsriber to not print fields for serenity 2023-09-29 17:52:06 +01:00
Aadi Desai f3929a7885
Add custom tracing_subscriber 2023-09-29 01:48:12 +01:00
Aadi Desai f8eee82843
Use tracing macros over (e)println 2023-09-29 01:06:37 +01:00
Aadi Desai 4fc6a9e59f
Welcome member only when new 2023-09-27 16:18:20 +01:00
Aadi Desai d5039796cc
Fix cmds.rs printlns to output usernames 2023-09-27 14:13:11 +01:00
Aadi Desai 980dcae811
Fix whois id to be ephemeral 2023-09-27 12:07:51 +01:00
Aadi Desai c3f9ba6626
Switch all cmds to use Member instead of User 2023-09-26 02:05:12 +01:00
Aadi Desai 40cd160fa1
Add set_members_non_fresher command
Set all members to non-fresher
2023-09-26 02:04:31 +01:00
Aadi Desai eb16506e23
Add edit_member commands 2023-09-26 02:03:48 +01:00
Aadi Desai ef2be84ae0
More clippy::pedantic lints
Use `if let` rather than unnecessary match
2023-09-25 23:07:22 +01:00
Aadi Desai 83db8eb08f
Switch get_all_* commands to send files
Avoids character limits of messages
2023-09-25 23:01:00 +01:00
Aadi Desai d8f87d4ebd
Add fuzzy whois commands 2023-09-25 21:32:48 +01:00
Aadi Desai 89a9d2b085
Make whois commands case-insensitive 2023-09-25 21:31:12 +01:00
Aadi Desai 69e7a5a4f4
Fix clippy::pedantic lints 2023-09-25 13:23:32 +01:00
Aadi Desai eb77798c35
Add whois commands
TODO: commands are currently exact, add fuzzy finding
2023-09-25 12:36:45 +01:00
Aadi Desai 82e3eb76c1
Replace conversions with type-safe .into() calls 2023-09-25 12:36:01 +01:00
Aadi Desai b83f28a01c
Temporarily disable welcome message
Many users will be re-verifying now
2023-09-24 16:32:06 +01:00
Aadi Desai 8ef1e876d3
Update cmds logs to print name rather than ping 2023-09-24 16:17:23 +01:00
Aadi Desai ff654533e7
Add info message 2023-09-24 16:09:52 +01:00
Aadi Desai 2f7ddf660f
Add server GuildId 2023-09-24 16:05:46 +01:00
Aadi Desai 2e23cd3a01
Delete manual entry when denied 2023-09-24 16:05:28 +01:00
Aadi Desai 2dcc62aa26
Add ping when verification complete 2023-09-24 16:05:18 +01:00
Aadi Desai aab4b43cc7
Add logging to autoverification 2023-09-24 16:04:51 +01:00
Aadi Desai 655b6447b0
Add logging to commands 2023-09-24 16:03:21 +01:00
Aadi Desai d501512ff2
Add messages in AU_CH for autoverification
And logging when verified
2023-09-24 14:50:14 +01:00
Aadi Desai 3005c26096
Add general channel to config 2023-09-24 14:49:26 +01:00
Aadi Desai d1dd31a608
Missing line in previous commit 2023-09-24 02:01:08 +01:00
Aadi Desai b761e7f7fc
Switch to custom service 2023-09-24 02:00:12 +01:00
Aadi Desai 9ecd3722cb
Add event handler function 2023-09-24 01:59:42 +01:00
Aadi Desai d02201832b
Add commands, setup function and secrets 2023-09-24 01:59:09 +01:00
Aadi Desai 3242544631
Add app data structures 2023-09-24 01:57:32 +01:00
Aadi Desai f6317b07f7
Update dependencies 2023-09-24 01:57:04 +01:00
Aadi Desai c5c2b4fbc0
Add slash commands for committee use 2023-09-24 01:56:45 +01:00
Aadi Desai eceb64c877
Add axum http routes 2023-09-24 01:56:33 +01:00
Aadi Desai 092562e8c4
Add verification module 2023-09-24 01:56:20 +01:00
Aadi Desai 57aea8793d
Add database module 2023-09-23 23:14:44 +01:00
Aadi Desai 1b8914cf67
Add service module
To multiplex discord bot and http server in shuttle
2023-09-23 23:14:26 +01:00
Aadi Desai d62fabb048
Add eActivities module 2023-09-23 23:13:49 +01:00