Skip to content

Instantly share code, notes, and snippets.

const Eris = require('eris');
const { spawn } = require('child_process');
var client = new Eris("BOT_TOKEN");
var ffmpeg = spawn(`ffmpeg.exe`, [
'-i', 'https://bss.neterra.tv/rtplive/veselinaradio_live.stream/chunklist.m3u8', // Radio Veselina
'-c:a', 'libopus',
'-f', 'opus',
'pipe:1'
]);;
@DoNotSpamPls
DoNotSpamPls / gist:6a94317cdb4265906dfc9243cc847678
Last active July 8, 2023 18:27
Why Discord will (probably) never get a self-hosted server option.
  1. It's not a lot of times when Discord has a major outage. Most of the months have 100% uptime, and most of the outages are minor, and don't affect a lot of users. With self-hosted servers, it's unlikely you'll ever reach that high uptimes. Also, the Discord team can't guarantee the stability of the whole service if there are lurking self-hosted servers.
  2. You will lose a lot of the versatility of having a cloud-hosted server. You won't be able to change the region in less than a second if something goes wrong, you'll have to fix it yourself.
  3. Discord works on the rolling release model, which means they push a lot of code daily to make the service better. This means that, if you had a self-hosted servers, you'd have to upgrade the server pretty much daily, which will get annoying really quickly, and a lot of fragmentation between server versions will occur.
  4. By self-hosting servers, there is the possibility of a security breach. Some unscrupulous server owners could get their users' IPs and sell them,