• Joined on 2022-10-15
myrkvi pushed to feature/keyword-notify at NLL/Heimdallr 2023-04-17 20:04:27 +02:00
2fcd69c881 Fixed stray "V" at the end of a line
myrkvi opened issue NLL/Heimdallr#13 2023-04-17 13:43:40 +02:00
For Gatekeep*, allow approvers to use the checkmark reaction like in Heimdallr1
myrkvi opened issue NLL/Heimdallr#12 2023-04-03 11:40:27 +02:00
Migrate to interactions.py
myrkvi commented on pull request NLL/Heimdallr#11 2023-04-03 08:42:25 +02:00
Add keyword notification feature

Side note: I also changed the Drone CI runner to be a x64 Azure VM instead of the RPi w/ arm64. Should result in better performance as it's no longer running on a RPi :dogehehe:.

myrkvi pushed to feature/keyword-notify at NLL/Heimdallr 2023-04-01 01:03:15 +02:00
a8472c1629 Disable arm64 arch for CI
myrkvi created pull request NLL/Heimdallr#11 2023-04-01 00:57:52 +02:00
Add keyword notification feature
myrkvi created branch feature/keyword-notify in NLL/Heimdallr 2023-04-01 00:49:11 +02:00
myrkvi pushed to feature/keyword-notify at NLL/Heimdallr 2023-04-01 00:49:11 +02:00
1968d5db65 Add keyword notification feature
myrkvi commented on issue NLL/Heimdallr#6 2023-03-13 14:56:23 +01:00
Conditional roles

So sth like an enum of types and constraints as objects? Yeah, something like that!

I could read a bit more about different options. I can even make a graph database if that makes it any…

myrkvi commented on issue NLL/Heimdallr#6 2023-03-11 20:22:16 +01:00
Conditional roles

Database-wise, I'd say one row per rule. Perhaps something like this

CREATE TABLE ConditionalRoles (
	id INTEGER PRIMARY KEY AUTOINCREMENT,
    guild_id INTEGER NOT NULL,
   
myrkvi commented on issue NLL/Heimdallr#10 2023-03-11 20:13:29 +01:00
Username normalization

Nope! It's just a matter of storing the setting for a guild in the database, and when the bot gets an even of someone joining the server, or a user/nick change event, we can check the DB and use…

myrkvi commented on issue NLL/Heimdallr#10 2023-03-04 00:04:49 +01:00
Username normalization

Python's standard library has a unicode module that lets us do this pretty easily.

myrkvi commented on issue NLL/Heimdallr#6 2023-03-04 00:04:12 +01:00
Conditional roles

The bot would listen for events, then check against the database if it matches any criteria to assign or unassign a role.

On the admin side we would need commands for adding and removing…

myrkvi pushed to main at NLL/Heimdallr 2023-03-03 07:09:04 +01:00
7a70bd37e7 Use new send to admins method in infractions
myrkvi pushed to main at NLL/Heimdallr 2023-03-02 22:21:51 +01:00
bf7d4ba23f Added `send_to_admins` utility method.
myrkvi opened issue NLL/Heimdallr#10 2023-03-02 20:38:45 +01:00
Username normalization
myrkvi opened issue NLL/Heimdallr#9 2023-03-02 20:37:15 +01:00
Username / nickname blacklist
myrkvi commented on issue NLL/Heimdallr#5 2023-03-02 20:30:23 +01:00
Notify on keyword/regex

Likely to be limited to text keywords only, and not regular expressions. Due to how Python works, with the Global Interpreter Lock, allowing a user-defined regular expression could cause the…

myrkvi pushed to main at NLL/Heimdallr 2023-02-24 12:53:51 +01:00
27254e50e9 role handler used wrong propety to access context.
6d602f0a47 VS Code configuration
f9fb2e621a Added mypy as a dev dependency
Compare 3 commits »
myrkvi pushed to main at myrkvi/gandi-dns-updater 2023-02-14 08:04:52 +01:00
85c4b0e847 Sample config