Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Callback when a command is executed #64

Open
MonzUn opened this issue Jan 23, 2023 · 0 comments
Open

Callback when a command is executed #64

MonzUn opened this issue Jan 23, 2023 · 0 comments

Comments

@MonzUn
Copy link

MonzUn commented Jan 23, 2023

Is your feature request related to a problem? Please describe.
I would like to log admin commands to Discord for DiscordLink, but there is no way to know when the admin_command log is written to or when the command itself gets invoked.

Describe the solution you'd like
A callback when a command is executed with parameters for who invoked the command, the command level (user, admin etc), the name of the command and the parameters used.

Describe alternatives you've considered
If the log writer could have a callback, that would work well enough.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant