Structure
This commit is contained in:
18
README.md
Normal file
18
README.md
Normal file
@ -0,0 +1,18 @@
|
||||
## DemocracyBot
|
||||
Discord bot for managing democratic invitations to join a server.
|
||||
|
||||
### Workflow
|
||||
```mermaid
|
||||
graph TD;
|
||||
A[User] -->|Tells bot to invite a user| B[Bot];
|
||||
B -->|Creates a poll| C[Poll];
|
||||
C --> |If 50% active members vote yes| D[Invite User];
|
||||
C --> |If 50% active members vote no| E[Do not invite user];
|
||||
```
|
||||
|
||||
### Active users
|
||||
We keep track of active users by checking for activity[^1]. No messages are logged, only the fact that a user has been active.
|
||||
|
||||
|
||||
|
||||
[^1]: Message, reaction, or voice activity in the last 30 days.
|
Reference in New Issue
Block a user