- 16 Feb, 2021 3 commits
- 02 Jan, 2021 5 commits
- 31 Dec, 2020 11 commits
- 11 Dec, 2020 17 commits
-
-
Tmpod authored
Added a check to the bot invite command to see if the bot has already been invited. Removed some exclamantion marks in error messages. It seemed a bit too much.
-
Tmpod authored
Fixed nick in owner notification. Fixed owner role addition. Fixed DM channel fetching and creating (Discord changed this). Moved bot invite ticket to seperate channel, and removed Staff role ping. Changed logger name. Changed database configuration field name from `postgres` to `database`.
-
Tmpod authored
-
Tmpod authored
Also added a DM notification that is sent to users when their bots are invited to the server.
-
Tmpod authored
-
Tmpod authored
-
Tmpod authored
Also added a little parser function to extract prefixes from bot nicks. Additionally, added an optional `username` parameter to `update_bot_nick_prefix` so that the function doesn't hit the API in order to get the bot's username, which is useful if you already have a bot's member data.
-
Tmpod authored
Added config and database models. Bumped the versions on `requirements.txt`
-
Tmpod authored
In this commit I just sketched the plans for the bot management plugin, creating stubs for the listeners and commands it will have and adding descriptive docstrings, that should be enough to serve as reference when implementing the actual listeners and commands.
-
Tmpod authored
-
Tmpod authored
-
Tmpod authored
-
Tmpod authored
This new implementation swaps the cooldown manager of all commands in a plugin with a staff role-aware manager.
-
Tmpod authored
This manager will permaturely interrupt cooldown checking if the member has any of a set of roles in the guild. Also added a couple of useful decorators that mimmick the default decorator behaviour but use the new manager class instead.
-
davfsa authored
-
davfsa authored
-
- 14 Sep, 2020 1 commit
-
- 06 Sep, 2020 3 commits
-
-
Tmpod authored
Fixed import ordering. Fixed list defaults on config models to use factories instead. Removed `slots=True` from the attr.s decorator. Froze requirements' versions Removed the unnecessary `cast` helper function. Removed `Generic` and abc from `BaseConfigModel`. Fixed postgres' password from env var being optional if no value is present in the config file. Fixed `BaseConfigModel.from_dict` typing.
-
Tmpod authored
-
Tmpod authored
Ported our current config stuff over to `attrs` and cattrs`, also adding a nice alias decorator to make the models look better and even easier on the eyes. I've also added missing docstrings to all models and regularized the type annotations for collections, making everything `List`, as opposed to the mix of `Sequence`, `List` and `Tuple` of before.
-