Skip to content

Liparakis/VoiceRecorderDiscordBot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

VoiceRecord Discord Bot

A Discord bot that records voice audio from users in a voice channel to .ogg files.

Features

  • Records specific users to local .ogg files.
  • Handles Opus packets directly from Discord.
  • Patched to fix common voice_recv crashes.

Setup

  1. Install Dependencies:

    pip install -U discord.py[voice] discord-ext-voice-recv av numpy python-dotenv

    Note: You may need to install libopus and ffmpeg separately depending on your OS.

  2. Configuration:

    • Create a .env file in the root directory.
    • Add your bot token:
      DISCORD_TOKEN=your_token_here
  3. Run:

    python main.py

Commands

  • /join: Join your current voice channel.
  • /startrecord <user> <path>: Start recording a user.
  • /stoprecord: Stop recording and save the file.
  • /leave: Leave the voice channel.

License & Disclaimer

This project is open-source and free to use for any purpose.

DISCLAIMER: This software is provided for educational purposes only. The authors and contributors are not responsible for any misuse, harm, or legal consequences arising from the use of this bot. It is your responsibility to ensure you comply with all applicable laws and Discord's Terms of Service regarding audio recording and consent.

About

A Discord bot that records voice audio from users in a voice channel to .ogg files.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages