MFB-Archiver records the MFB radio programs on Discord, fetching Opus stream data from Discord and converting it into Ogg or other formats.
Note: This Discord bot is optimized for the MFB server, so when you use it for the purpose of saving your own podcast/let's plays/radio, you will have to alter it for your server by yourself.
- Node.js (v8.0 or higher)
- Discord.js and other dependencies
- FFmpeg and other encoders you want to use
- Install node.js (v8.0 or higher) and npm, then prepare a new Discord application at https://discordapp.com/developers/applications/me
- Clone or download this repositry.
- Install the dependencies by executing
npm install
. - Copy
config.js.sample
in the root directory and rename it toconfig.js
. - Fill in
ownerID
,token
,logGuild
. You can change other settings the way you want. - Run it by
node index.js
.
As previously mentioned you will have to change the program for running on your environment.
MFB-Archiver is licensed under MIT License.
MFB-Archiver is based on AnIdiotsGuide/guidebot by York licensed under MIT License.
The following files originally developed for Craig by Yahweasel in 2017-2018 are licensed under ISC License. Thank him very much.
- /audio-cooker/src/oggduration.c
- /audio-cooker/src/oggmultiplexer.c
- /audio-cooker/src/oggstender.c
- /audio-cooker/src/wavduration.c
- /audio-cooker/cook.sh
- /audio-cooker/oggduration
- /audio-cooker/oggmultiplexer
- /audio-cooker/oggstender
- /audio-cooker/recinfo.js
- /audio-cooker/userinfo.js
- /audio-cooker/wavduration
- /events/guildUpdate.js (partialy)
- /events/voiceStateUpdate.js (partialy)
- /modules/oggEncoder.js
- /modules/recording.js
The original files are available at https://bitbucket.org/Yahweasel/craig/