mirror of
https://github.com/barelyprofessional/KfChatDotNet.git
synced 2026-05-02 04:22:04 -04:00
embed media (#92)
This commit is contained in:
@@ -316,6 +316,8 @@ public static class BuiltIn
|
||||
public static string CaptureYtDlpWorkingDirectory = "Capture.YtDlp.WorkingDirectory";
|
||||
[BuiltInSetting("Path of the yt-dlp binary", SettingValueType.Text, "/usr/local/bin/yt-dlp")]
|
||||
public static string CaptureYtDlpBinaryPath = "Capture.YtDlp.BinaryPath";
|
||||
[BuiltInSetting("Path of the FFmpeg binary", SettingValueType.Text, "ffmpeg")]
|
||||
public static string FFmpegBinaryPath = "FFmpeg.BinaryPath";
|
||||
[BuiltInSetting("User-Agent that gets passed to yt-dlp --user-agent", SettingValueType.Text,
|
||||
"Mozilla/5.0 (X11; Linux x86_64; rv:128.0) Gecko/20100101 Firefox/128.0")]
|
||||
public static string CaptureYtDlpUserAgent = "Capture.YtDlp.UserAgent";
|
||||
@@ -540,6 +542,8 @@ public static class BuiltIn
|
||||
public static string KasinoRouletteCountdownDuration = "Kasino.Roulette.CountdownDuration";
|
||||
[BuiltInSetting("Whether Xeet posting is enabled", SettingValueType.Boolean, "true", BooleanRegex)]
|
||||
public static string XeetEnabled = "Xeet.Enabled";
|
||||
[BuiltInSetting("Maximum video duration in seconds for Xeet embeds", SettingValueType.Text, "120", WholeNumberRegex)]
|
||||
public static string XeetMaxVideoDurationSeconds = "Xeet.MaxVideoDurationSeconds";
|
||||
[BuiltInSetting("Connection string for bot's Redis", SettingValueType.Text)]
|
||||
public static string BotRedisConnectionString = "Bot.RedisConnectionString";
|
||||
[BuiltInSetting("Whether to automatically rehost images when they're added", SettingValueType.Boolean, "true",
|
||||
@@ -596,4 +600,4 @@ public class BuiltInSetting(
|
||||
ValueType = ValueType
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user