Add per-guild settings, and slash commands to edit and view them.
Initial settings should probably include:
- Disabled preview modules. Specifically AmiAmi previews can be pretty risqué, and thus not suitable for all servers.
- Preferred preview style. The bot can be pretty spammy, especially since currently, a lot of focus is on large images in the previews. We could have server moderators choose between the default (big) style, and a more compact one (where some information is cut, and images moved to the thumbnail section of the embed, perhaps).
- Delete original message (or at least, delete original embed, if present)
- (Optional) Disallow NSFW. The AmiAmi API technically has an
agelimit field in the response we could use to determine if an item is NSFW or not (YouTube Community Posts can be fairly safely assumed to be SFW). However, I'm unsure of a) how accurate the labelling in this regard is and b) how to handle the fallback case where we have access to nothing but the image. So this should probably be put on hold.
The first two should be relatively straightforward to implement with the current architecture.
Add per-guild settings, and slash commands to edit and view them.
Initial settings should probably include:
agelimitfield in the response we could use to determine if an item is NSFW or not (YouTube Community Posts can be fairly safely assumed to be SFW). However, I'm unsure of a) how accurate the labelling in this regard is and b) how to handle the fallback case where we have access to nothing but the image. So this should probably be put on hold.The first two should be relatively straightforward to implement with the current architecture.