Can You Delete Audit Logs In Discord?

Audit logs are a digital trail of everything that happens on a Discord server. They record who gets kicked and who kicked them, bot actions, actions performed that require admin privileges and a whole lot more. They are a record of everything that happens and should be kept intact as much as possible. But can you delete audit logs in Discord?


Gaming

The short answer is no, you cannot edit, change or delete audit logs. They are written using higher privileges than even server owners have and are there to provide an irrevocable record of server activities.

I see this question asked a lot in the Discord forums and elsewhere online. Often mentioned in conjunction with some strange happening like mass bans or new admins being added with no corresponding audit log. The question then arises, can someone modify or delete those audit logs in Discord. The answer is no. Discord have confirmed many times that the logs are sacrosanct and cannot be modified by any user, whatever their permissions.

Audit logs in Discord

Audit logs are the written record of everything that happens on a Discord server that requires admin privileges. They do not record chats, DMs, messages and the daily discussions of members. They do not record who logs on, when, for how long, or anything a member wouldn’t want a record of. It is purely about recording specific actions within that server.

More specifically, actions that require permissions to do such as message deleting, member kicking, adding new members, changing permissions, adding roles and all the things that happen behind the scenes on the average Discord server.

If you have View Audit Logs or Administrator permissions on your server, you can check them out.

  1. Open Discord and log in with an account with those permissions.
  2. Select Server Settings from the main window and select Audit Log from the left menu.
  3. Select an entry to see exactly what it contains.

On my SwipeTips test server, there aren’t that many logs to check but on a live server with members, there will be hundreds of logs. You can see at the top level who did what and then an overview of what they did. You can select each entry individually to see more about what happened.

When you’re dealing with hundreds of logs, you may need to use the filters on the log page. Check the top right of the Audit Log page and you should see dropdown menus beside ‘Filter by User’ and ‘Filter by Action’. If you’re dealing with lots of logs and are looking for something specific, this is where you go.

Audit log types

According to this page on The Discord Wiki, the audit logs you will see include:

  • Channel creation, deletion and updates
  • Channel permission creation, deletion and updates
  • Emoji creation, deletion and updates
  • Invite creation, deletion and updates
  • Member kicks, bans and unbans
  • Member role and nickname updates
  • Role creation, deletion and updates
  • Server updates
  • Webhook creation, deletion and updates
  • Message deletion by users and bots

As you can see, that’s most of the actions a server owner or administrator would take. There are some moderator actions included in there too like the kicks, bans and unbans. These are the logs you will likely see the most or be asked to check the most.

As well as the default audit logs in Discord, you can supplement them with specific bots that add their own logging features. The standard logs should be enough for most situations and most server owners but if you want more, there’s a bot for that. In fact, there are a bunch of bots for that.

There is one key difference between bot-created logs and Discord audit logs. Where Discord’s logs are sacrosanct and cannot be deleted, bot-created logs can be. Make extra sure that you restrict permissions only to yourself or people you trust to maintain log integrity otherwise it kind of defeats the object.

I have used ProBot before and liked it. I didn’t dig too deep into the logging side of things but there are a ton of logs it can keep to supplement the default logs if that’s your thing. Alongside a ton of other features, if you think things are happening on your server that aren’t being logged, this is a way to find out. Remember to keep bot permissions to yourself to make sure the logs are accurate.

Audit logging is an important tool in managing a busy Discord server. If you’re lucky, you will never need to use them. If you’re not so lucky, you’re going to be spending a lot of time looking through them!