Cog-Creators / Cog-Creators/Red-DiscordBot

Modlog listener for custom cases

Open
#3,763 0 comments 1 reaction 0 assignees View on GitHub
Category: Core - Modlog Status: Needs Discussion Type: Feature
Dominant language
Python
Stars
5.7k
Forks
2.5k
Avg merge
6d 16h
Merged PRs (30d)
1

Description

# Feature request

- [ ] Cog
- [ ] Command
- [x] API functionality

#### Describe your requested feature

Current modlog implementation of custom modlog-ing through API is laborious. I propose a solution of creating an event listener within the modlog cog that listens to a generic event `on_custom_modlog_case` that will have a predefined schema that CC's can dispatch in their own cogs.

The schema will match existing methodology of a case and an optional extra field which should accept key, value for custom input limited to one.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.