Warning: session_start(): open(/var/lib/php/sessions/sess_bn3vbkfa47podlgjcap41ukdkg, O_RDWR) failed: No space left on device (28) in /var/www/tb-usercake/models/config.php on line 51
Warning: session_start(): Failed to read session data: files (path: /var/lib/php/sessions) in /var/www/tb-usercake/models/config.php on line 51
!7
/* Fix:
[JDA [0 / 3] Gateway-Worker 1] WARN WebSocketClient - Hit the WebSocket RateLimit! This can be caused by too many presence or voice status updates (connect/disconnect/mute/deaf). Regular: 3 Voice: 450 Chunking: 0
*/
static MapSO _renameClasses = litmap(
"DynDiscordHopper" := "DynShardedDiscordHopper",
"DynServerAwareDiscordBot" := "DynShardedServerAwareDiscordBot",
"DynTalkBot2" := "DynShardedTalkBot2");
set flag JDA40.
// For now, keep using standard sync collections and JDK 16...
//set flag OurSyncCollections.
set flag UseOldLinkedHashSet.
// TODO: on restart, check if we actually are in vc with voiceChannelID
// (if permissions have changed)
// Changes in this version:
// uploadImagesAsFiles
// !!!listeners fixed
// check if embed fields are longer than 1k
// Note: dm owners only takes ONE LINE
// TODO: send dms only once when owner has two guilds
!include once #1030357 // Discord Audio
cmodule MKLabFM extends DynShardedTalkBot2<.ByServer> {
switchable bool doRejoins;
switchable S specialMsg;
switchable S radioURL = "http://streamlive2.hearthis.at:8080/26450.ogg";
switchable S currentSongURL = "https://widgets.autopo.st/widgets/public/MKLabFM/nowplaying.php";
switchable S coverArtURL = "http://95.154.196.33:26687/playingart?sid=1&rand=";
switchable bool enableShadowStop = true;
switchable bool putSongInStatus = true;
transient double bufferSeconds = 30.0;
transient int grabInterval = 15; // try to grab frames quicker to see if it fixes the jumps
transient double considerDownInterval = 60.0;
// restart stream when no frames received for this long
transient double autoRestartInterval = 20.0;
switchable S madeBy = trim([[
MKLab:
Support channel:
Bot by:
You like this bot? Donate:
]]);
switchable S voteLink = "\n\nPlease help us grow by voting here: ";
switchable S npMsg = "Now playing: