https://github.com/ju0x/discord-voicemessage-moderation
Moderate Voicemessages on Discord via Whisper AI
https://github.com/ju0x/discord-voicemessage-moderation
automoderation discord discord-bot discord-py moderation voice voice-messages
Last synced: about 2 months ago
JSON representation
Moderate Voicemessages on Discord via Whisper AI
- Host: GitHub
- URL: https://github.com/ju0x/discord-voicemessage-moderation
- Owner: Ju0x
- License: mit
- Created: 2023-04-14T22:04:22.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2023-08-26T15:02:30.000Z (almost 2 years ago)
- Last Synced: 2025-03-25T03:13:39.624Z (2 months ago)
- Topics: automoderation, discord, discord-bot, discord-py, moderation, voice, voice-messages
- Language: Python
- Homepage:
- Size: 19.5 KB
- Stars: 8
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# discord-voicemessage-moderation
Moderation for Discord's newest Voice-Message feature.
## Features
* Badword detection
* Earrape detection
* Speech-to-text command (/speech-to-text )## 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`