Vegard Berg
62902206b0
Migrated from NAFF to Interactions.py
continuous-integration/drone Build is passing
Details
2023-05-31 20:07:39 +02:00
myrkvi
eb37f41b45
Merge pull request 'Add keyword notification feature' ( #11 ) from feature/keyword-notify into main
...
continuous-integration/drone/push Build is passing
Details
Reviewed-on: #11
Reviewed-by: konradomen <konrad.szychowiak+myrkvi@gmail.com>
2023-04-17 20:08:34 +02:00
Vegard Berg
2fcd69c881
Fixed stray "V" at the end of a line
continuous-integration/drone/pr Build is passing
Details
continuous-integration/drone/push Build is passing
Details
2023-04-17 20:04:22 +02:00
Vegard Berg
a8472c1629
Disable arm64 arch for CI
continuous-integration/drone/pr Build is passing
Details
continuous-integration/drone/push Build is passing
Details
2023-04-01 01:03:03 +02:00
Vegard Berg
1968d5db65
Add keyword notification feature
continuous-integration/drone/push Build was killed
Details
continuous-integration/drone/pr Build was killed
Details
2023-04-01 00:49:01 +02:00
Vegard Berg
7a70bd37e7
Use new send to admins method in infractions
continuous-integration/drone/push Build is passing
Details
2023-03-03 07:08:48 +01:00
Vegard Berg
bf7d4ba23f
Added `send_to_admins` utility method.
...
continuous-integration/drone/push Build is passing
Details
Sends message to admin channel if it exists,
otherwise to server owner.
2023-03-02 21:44:39 +01:00
Vegard Berg
27254e50e9
role handler used wrong propety to access context.
continuous-integration/drone/push Build is passing
Details
2023-02-24 12:53:38 +01:00
Vegard Berg
6d602f0a47
VS Code configuration
2023-02-24 12:52:54 +01:00
Vegard Berg
f9fb2e621a
Added mypy as a dev dependency
2023-02-24 12:51:47 +01:00
Vegard Berg
a114dcef56
Add CI badge
continuous-integration/drone/push Build is passing
Details
2023-02-06 21:14:59 +01:00
Vegard Berg
1c862039c9
Remove orjson dependency
continuous-integration/drone/push Build is passing
Details
2023-02-06 21:12:27 +01:00
Vegard Berg
db4e353bb0
Add modmail feature
continuous-integration/drone Build is failing
Details
2023-02-06 20:22:32 +01:00
Vegard Berg
09674aa86b
Make a child class for Client and use that, otherwise "base" listeners and commands won't work.
2023-02-06 20:22:32 +01:00
Vegard Berg
bc8976590d
Deprecate resources feature for now
2023-02-06 20:22:32 +01:00
Vegard Berg
f3c6aa9f85
NAFF updated to version 2.1.0
2023-02-06 20:22:32 +01:00
Vegard Berg
a64f6c6003
Drone test
continuous-integration/drone/push Build encountered an error
Details
continuous-integration/drone Build is passing
Details
2022-10-16 20:09:59 +02:00
Vegard Berg
bf62c84cfb
Do lint in Drone
continuous-integration/drone/push Build encountered an error
Details
2022-10-16 18:23:35 +02:00
Vegard Berg
c03a47a5f6
fix Drone CI arch
continuous-integration/drone/push Build is passing
Details
2022-10-16 18:18:33 +02:00
Vegard Berg
1b81ba1111
testing for Drone CI
continuous-integration/drone/push Build was killed
Details
continuous-integration/drone Build was killed
Details
2022-10-16 03:33:23 +02:00
Vegard Berg
f58a14d958
Add MkDocs for end-user documentation.
2022-10-16 01:18:53 +02:00
Vegard Berg
6793c85593
Warn commands now logs warning issuer in admin channel
2022-10-15 21:16:03 +02:00
Vegard Berg
2c93e81be0
Made Pylint happy
2022-10-15 03:35:42 +02:00
Vegard Berg
8aec106671
Changed directory structure
2022-10-15 02:51:21 +02:00
Vegard Berg
4441737d57
Updated dependencies
2022-10-14 21:52:06 +02:00
Vegard Berg
11ee60cd62
Fixed another issue w/ loglevels, and one await in infractions.
2022-08-29 02:50:55 +02:00
Vegard Berg
9c8be82481
Fixed an error if warn level was not set
2022-08-29 01:02:09 +02:00
Vegard Berg
d7a68d27f6
Updated README.md
...
Fixed run command.
Added info about other environment variables that can be set.
2022-08-14 00:14:08 +02:00
Vegard Berg
3ca4aa1131
Updated naff to 1.7.1
2022-08-14 00:02:08 +02:00
Vegard Berg
506230be16
Added run script.
2022-08-11 01:39:39 +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
64c138110c
Added ability to regenerate captchas.
2022-08-04 14:34:45 +02:00
Vegard Berg
246e011549
Fixed "approve" command and context menu name conflict.
2022-08-04 13:46:07 +02:00
Vegard Berg
2cc865100d
Stop pylint whining about unexpected keyword argument.
2022-08-04 04:34:19 +02:00
Vegard Berg
847d5c8c89
Check mark reactions in welcome channel approve user.
...
A check mark reaction emoji can be used to approve a user, if it is done in the Join/Leave message channel.
It requires the one reacting to have the "Manage Roles" permission.
2022-08-04 04:15:28 +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
40b347c875
Added updating role group messages and exclusive roles
...
Added a context menu for messages for updating a role group message.
Ideally this would be done automatically, but this works fine for now.
Alternatively, this may be ideal if one doesn't want changes to immediately propagate.
Added the option for some role groups to have their roles be mutually exclusive.
I.e. one would only be able to pick one role from the group.
2022-08-04 00:56:46 +02:00
Vegard Berg
7e2f113c52
Addes self-role groups.
2022-08-03 19:48:01 +02:00
Vegard Berg
09b87df3bc
Added admin settings, join/leave messages.
2022-07-25 02:32:07 +02:00
Vegard Berg
c02ff3f8f8
user-infractions shows total severity.
...
Command user-infractions now shows the total severity/weight and number of infractions.
2022-07-23 01:10:45 +02:00
Vegard Berg
a9920e44d1
Added info for running the bot.
2022-07-22 23:55:36 +02:00
Vegard Berg
8f1e003d7b
Updated README to include info on commands.
2022-07-22 23:52:51 +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
281c60a738
Fixed Pylint to work w/ Poetry
2022-07-21 21:30:15 +02:00
Vegard Berg
2357c835a6
Made Pylint happy.
2022-07-21 21:27:47 +02:00
Vegard Berg
6e6af4b508
Create pylint.yml
2022-07-21 20:53:46 +02:00
Vegard Berg
e3a3fa0f6d
Initial commit. DB models, warn/infraction commands, quote command
2022-07-21 20:50:23 +02:00