/discord-voicemessage-moderation

Moderate Voicemessages on Discord via Whisper AI

Primary LanguagePythonMIT LicenseMIT

discord-voicemessage-moderation

Moderation for Discord's newest Voice-Message feature.

BANNER

Features

  • Badword detection
  • Earrape detection
  • Speech-to-text command (/speech-to-text <message-id/message-link/audio-link>)

Setup

At first discord.py, pydub and whisper must be installed.

https://github.com/Rapptz/discord.py

pip install discord

https://github.com/jiaaro/pydub

pip install pydub

https://github.com/openai/whisper/

pip install openai-whisper

Config.json

You should set a language in the "language" field (format: en, de, pl) to get better results

To get started you need to get your bot token on the discord developer site, and just add badwords to the list. If you want to use non-latin letters, then you must add them yourself in main.py to valid_chars