Commit a3a68a0
feat: implement Ban All (#51)
* feat: voting utility
* fix: logger level now uses `process.env` to avoid error in tests
* fix(fmtUser): reduce user type restrictness
* fix: remove LOG_LEVEL env from `@/env`
* tests: add a vote test
* feat(MenuGen): add support to update Menu data from callback
Useful for long-term menus, like BanAll voting
* feat: ban all - voting management with menu
* feat: add a banall test command (temporary)
* feat: use backend addRole and getDirettivo
* feat: update types from backend, add delrole command
* build: bump @polinetwork/backend to 0.11.0
* fix: check if there is no president
* feat: module coordinator (#52)
* feat: module coordinator
* chore: folder structure
* fix: don't know how variables work
* fix: websocket lifecycle
* feat: BanAll message update on progress
* feat: unicode progress bar!!!!
* fix(group-mgmt): join+admin correct handling
* feat: ban-all
---------
Co-authored-by: Lorenzo Corallo <[email protected]>
* fix: lint
* feat: test command banall
* fix: throttle arg caching
* feat: real commands btw
* chore: biome
* fix: minor aesthetic in progress message
* fix: spelling errors
Co-authored-by: Copilot <[email protected]>
* fix: spelling errors 2
Co-authored-by: Copilot <[email protected]>
* fix: banall commands not imported
* fix: better progress text layout
* fix: tu ma
Co-authored-by: Copilot <[email protected]>
* fix: words typos
* fix: better sorry than safe
* fix: add try-catch for banall initialization
* feat: implement BanAll start from user report
* chore:biome
* docs: banallqueue documentation
* fix: the banall text
* fix: use string repeat
Co-authored-by: Copilot <[email protected]>
* fix: docs: fix: docs: fix: docs:
* fix: spellinggggggg
Co-authored-by: Copilot <[email protected]>
* docs: update TODO.md
---------
Co-authored-by: Tommaso Morganti <[email protected]>
Co-authored-by: Copilot <[email protected]>1 parent dbf78a5 commit a3a68a0
File tree
38 files changed
+1498
-114
lines changed- src
- commands
- test
- lib
- modules
- middlewares
- auto-moderation-stack
- modules
- moderation
- tg-logger
- utils
- tests
38 files changed
+1498
-114
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
19 | | - | |
20 | | - | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
| 44 | + | |
44 | 45 | | |
45 | 46 | | |
46 | 47 | | |
| |||
54 | 55 | | |
55 | 56 | | |
56 | 57 | | |
57 | | - | |
| 58 | + | |
58 | 59 | | |
59 | 60 | | |
60 | 61 | | |
61 | 62 | | |
62 | 63 | | |
63 | 64 | | |
64 | 65 | | |
| 66 | + | |
65 | 67 | | |
66 | 68 | | |
67 | 69 | | |
| |||
0 commit comments