Commit Graph

8 Commits

Author SHA1 Message Date
a50ac1716f make return value for role non optional, instead throws on error
All checks were successful
Compile the repository / compile (pull_request) Successful in 22s
Run unit tests / test (pull_request) Successful in 19s
2023-11-25 20:05:37 +01:00
1f372b0aac fix naming for reaction 2023-11-25 19:50:54 +01:00
1ae8278fb8 remove unused client
Some checks failed
Compile the repository / compile (pull_request) Failing after 18s
Run unit tests / test (pull_request) Successful in 16s
2023-11-22 19:51:35 +01:00
417b24d408 add function to fetch announcement role id
All checks were successful
Compile the repository / compile (pull_request) Successful in 16s
Run unit tests / test (pull_request) Successful in 14s
intended flow: use id fetch function to get role for current guild, use role id to fetch role from discord role cache,
use role in intended use case
currently the role id is hardcoded, needs to be read from some sort of cache which persists the ids in config file
needs to be differentiated by guild id and role type
could be the target of a user configurable frontend in the future
2023-11-21 23:33:25 +01:00
88061c361c rename announcement role assign function
All checks were successful
Compile the repository / compile (pull_request) Successful in 16s
Run unit tests / test (pull_request) Successful in 15s
2023-11-21 22:42:50 +01:00
f83f54749d move manage announce roles to role controller
All checks were successful
Run unit tests / test (pull_request) Successful in 16s
Compile the repository / compile (pull_request) Successful in 17s
2023-11-21 22:42:00 +01:00
8f320cee5c implement very basic functionality of role add/rm
Some checks failed
Compile the repository / compile (pull_request) Failing after 16s
Run unit tests / test (pull_request) Successful in 14s
2023-11-20 00:27:23 +01:00
ba4aefed8e add a minimal vote controller 2023-11-20 00:17:02 +01:00