1
1
1 22020-06-08 09:13:42
Python
1 2, 2020-06-08 09:13:42

Discord.py how to make an audit channel?

I wanted to make an audit channel where the bot will send all the information: by type, the message was edited by <some user> or the message was deleted by <some user>
For example:
5eddd6d794f77085130231.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
shurshur, 2020-06-08
@shurshur

Well, how to write a bot that will catch the required events and write about them to the audit channel. The main thing is not to forget to exclude the audit channel itself from monitoring and the actions of the bot itself - in order to avoid recursion.
Maybe there are even ready-made bots of this kind.
And there is also an audit in the discord itself, where some actions are already logged.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question