Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Clipper

clipper

clip-bot that allows you to clip the last 30 seconds of audio in a voicechat. It automatically joins voicechats. Works on multiple servers. Use server-deathen to disable the bot.

setup

  1. create .cargo folder
  2. create config.toml inside .cargo
  3. write the following configuration the config.toml replacing DISCORD_BOT_TOKEN with your bot token. And replacing SERVER_PORT with a free port. (see config.toml.example)
[env]
TOKEN = "DISCORD_BOT_TOKEN"
PORT = "SERVER_PORT"
  1. Go to https://discord.com/developers/applications and create an application
  2. add to server
  3. create "#clips" text channel
  4. copy server id
  5. run cargo run
    (if your on linux you might need to install libopus-dev)
  6. go to http://localhost:{PORT}/clip/{server id}
  7. when updating the config keep in mind that you need fo rebuild since this the env is pulled from the file by the compiler

custom clip-duration

optionally you can add DURATION="MS" your config.toml to adjust the clip-size. Replace MS with your duration in milliseconds.

About

Clip your Discord VoiceChat. This Bot records the last 30 seconds and clips them.

Resources

Stars

3 stars

Watchers

2 watching

Forks

Releases

Packages

Used by

Contributors

Languages