Structure

This commit is contained in:
2025-05-26 20:59:40 +02:00
commit 3013e13163
7 changed files with 95 additions and 0 deletions

18
README.md Normal file
View 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.