How do I scan posted files (viruses, programs, archives)?

SecurityOriusBotGuardFiles
Security centre — inside the OriusBot admin panel.
Security centre — inside the OriusBot admin panel.

Attached files (programs, archives…) are compared with known viruses and checked before staying in the channel. This analysis is done by OriusBotGuard. Two switches on the Security page handle it.

1. Scan files

  1. Open the Security page Left menu, Protection section, then Security.
  2. Turn on “Media scanning” Its description: checks attached files (known virus signatures, program certificates, hidden code in images).
  3. (Optional) Turn on the “extended sources” line just below It adds scanning engines. Depending on your server it is called Media scanning — extended sources or … premium sources. Greyed out = not included in your plan.

2. Hold files while they are scanned

This option is independent of the first: it changes what members see.

  1. Find the “Hold files while they are scanned” line
  2. Turn the switch on
  3. Give the bot the required permissions The bot needs the Discord permissions Manage Messages and Manage Webhooks for this option to work.

What happens when a member posts a file

With “Hold files” on:

  1. The file leaves the channel In its place appears an “analysis in progress” message, under the member’s name and picture. Nobody can download the file in the meantime.
  2. Clean file The message comes back as it was, with the note “scanned by OriusBot”.
  3. Dangerous file It does not come back.

Images and GIFs are not held (they fall under image scanning).

What happens to the member? For a dangerous file, the sanction applied to the member is set on the Dangerous file line of the AutoMod page. See The sanction triggers.

If it does not work

  • The “analysis in progress” message never appears — check that the bot has the Manage Messages and Manage Webhooks permissions in the channel.
  • A clean file did not come back — contact support with the time, the channel and the file name.

Still stuck?

Contact support with the title of this article, the step where you are stuck and what you see on screen.

Contact support More articles: Protection

Last checked: 13 November 2026.