Commit Graph

9 Commits

Author SHA1 Message Date
Vegard Berg 9c8be82481
Fixed an error if warn level was not set 2022-08-29 01:02:09 +02:00
Vegard Berg 285c617871 Added comments for readability 2022-08-11 01:39:15 +02:00
Vegard Berg f1987d2788 Added bot messages. Updated polls and self-roles.
Added bot messages, intended for moderators to be able to post as the bot.
These messages are also editable through a context menu.
Intended for rules/info messages etc.

Polls:
Added some error handling, as the bot only supports Unicode emojis.

Self-roles:
Edited the name of the context menu for updating a role-group message.
2022-08-06 02:01:29 +02:00
Vegard Berg fed475d8c7 Added polls command 2022-08-05 13:19:08 +02:00
Vegard Berg 5cf3cdbb08 Added Gatekeep features.
Added Gatekeep, a system where users require approval to fully join the server.
Currently, "manual" and "captcha" modes are available.
Manual mode requires someone to use the "/approve" command, or the "approve" context menu on a user to approve them.
Captcha mode allows the former, but lets the user complete a captcha in order to join.
The captcha is provided as both an image and as text.
2022-08-04 03:52:53 +02:00
Vegard Berg 09b87df3bc Added admin settings, join/leave messages. 2022-07-25 02:32:07 +02:00
Vegard Berg 38d2972021 Added: self-roles, Modified: infractions
Added self-roles with options to add or remove one's own roles.
Added moderator commands for managing self-roles.

When a warning is issued, it should now show up in an admin channel, if there is one.
2022-07-22 02:27:17 +02:00
Vegard Berg 2357c835a6 Made Pylint happy. 2022-07-21 21:27:47 +02:00
Vegard Berg e3a3fa0f6d Initial commit. DB models, warn/infraction commands, quote command 2022-07-21 20:50:23 +02:00