18 lines
544 B
Markdown
18 lines
544 B
Markdown
## 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. |