Skip to content

log moderative actions without bot commands - #457

Merged
jasonlessenich merged 1 commit into
Java-Discord:mainfrom
danthe1st:mod-log
Dec 27, 2023
Merged

jasonlessenich merged 1 commit into
Java-Discord:mainfrom
danthe1st:mod-log

Conversation

@danthe1st

@danthe1st danthe1st commented Nov 28, 2023 •

Copy link
Copy Markdown
Member

Currently, moderative actions are logged if and only if they are executed using a bot command.

This PR adds the capability to log other actions as well by introspecting the audit log.

If actions are performed via bot commands, a note about that is added to the log embed and no information about the action is sent to the user per DM.

timeouts
kick/ban

Logs from moderative actions via bot commands are not changed.
grafik

I haven't tested this with bulk-bans.

@danthe1st
danthe1st requested a review from a team as a code owner November 28, 2023 17:14
@jasonlessenich
jasonlessenich merged commit a9a378e into Java-Discord:main Dec 27, 2023
@danthe1st
danthe1st deleted the mod-log branch December 27, 2023 20:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants