Commit Graph

16 Commits

Author SHA1 Message Date
bccbf38310 (settings): Add multi-embed support to Message. 2022-03-19 13:17:30 +02:00
da9f9b02b1 feature (sponsors): Add sponsor command.
Add new sponsor prompts.
Add new sponsor command.
Add `sponsor_text` table.
Add sponsor global config settings.
Update `Setting.command` to use new `widget`.
Add custom `cmd_str` support to `Message` `SettingType`.
2022-03-12 17:27:25 +02:00
fde070a052 fix (rroles): Fix typo in setting response. 2022-01-29 04:08:24 +02:00
28bed5899a fix (global): Migration to LionContext. 2022-01-22 07:04:01 +02:00
24791867cf tweaks: Update setting defaults.
`video_grace_period` now 90 seconds.
`task_limit` now 99.
`rent_member_limit` now 24.

Also updated `Integer` default `_min` and `_max` to match DB values.
2022-01-14 19:45:24 +02:00
e9c812b65a fix (Message): Harden parsing and display.
Significantly broaden error handling for initial parsing.
Add error details upon parsing error.
Add more error catchers to parser and formatter.
Remove assumptions about data fields from format and output.
2021-10-24 21:06:37 +03:00
a044071387 style (settings): Don't display deleted channels.
Hides deleted or inexistent channels in the formatted settings.
2021-10-19 19:42:43 +03:00
8eaaeedf93 fix (settings): Handle empty setting input.
Handle empty `userstr` when parsing setting input.
List types also ignore empty fields or trailing commas.
Fixes an issue where parsing would throw an exception on empty fields.
2021-10-19 19:32:30 +03:00
1852710352 Merge branch 'python-rewrite' into reaction_roles 2021-10-19 13:23:16 +03:00
117b424f53 (rroles): Expiry system and small bugfixes.
Completed the `duration` reaction role setting implementation.
Improved the `Duration` setting type format.
Moved reaction roles to their own module.
Various small bugfixes.
2021-10-19 13:19:41 +03:00
cfa3c90841 feature (reaction-roles): Configuration command.
New monolithic `rroles` configuration command.
Complete logging and setting implementation in RR tracker.
Improve strings in RR settings.

Add special `NEWPAGE` manual section parsed by the help command.
Add `tabulated` method for `ObjectSettings` for easy display.
Add `_parse_create` switch for the `Role` setting type.
2021-10-18 15:28:14 +03:00
b31a34e725 (guild admin): Add greeting messages.
New `SettingType` `Message` for general message settings.
New setting `greeting_message`.
New setting `greeting_channel`.
New setting `starting_funds`.
New setting `returning_message`.
Add a greeting message hook.
Add initial funds on lion creation.
Data migration v3 -> v4.
2021-10-04 18:16:34 +03:00
e647c67858 Style (config): Add category pagination.
Break `config` command up into multiple pages.
Remove `donator_roles` setting.
2021-10-01 12:29:28 +03:00
6b90f1af8e UI (settings): Add Duration default unit. 2021-09-27 10:54:48 +03:00
6f48f47ffd (Moderation): Base moderation and video system.
Migration to data v2.
Complete core Ticket-based moderation system.
StudyBan ticket implementation.
Video-channel tracking system.
2021-09-25 14:43:28 +03:00
572a3a8688 Added guild and user settings module. 2021-09-12 11:27:37 +03:00