mirror of
https://github.com/RPCS3/discord-bot.git
synced 2026-01-31 01:25:22 +01:00
Merge branch 'vnext'
This commit is contained in:
@@ -842,3 +842,6 @@ Your work interests can capture the highest status or prestige.
|
||||
%
|
||||
Slow motion better than no motion.
|
||||
%
|
||||
The statistical probability of a crocodile attack is much higher in areas with native crocodile populations. I do not suggest immigration to these areas.
|
||||
-- Varna Interstellar Flight AI management System Nos-C71897 Demeter Unit 22.11.31.6
|
||||
%
|
||||
|
||||
@@ -76,7 +76,7 @@ internal static class Fortune
|
||||
if (line is "%" or null)
|
||||
{
|
||||
var newFortune = buf.ToString().Replace("\r\n", "\n").Trim();
|
||||
if (newFortune.Length > 200)
|
||||
if (newFortune.Length > Config.MaxFortuneLength)
|
||||
{
|
||||
buf.Clear();
|
||||
skipped++;
|
||||
|
||||
@@ -75,6 +75,7 @@ internal static class Config
|
||||
public static int FunMultiplier => config.GetValue(nameof(FunMultiplier), 1);
|
||||
public static int MaxPositionsForHwSurveyResults => config.GetValue(nameof(MaxPositionsForHwSurveyResults), 10);
|
||||
public static int MinLogThreads => config.GetValue(nameof(MinLogThreads), 1);
|
||||
public static int MaxFortuneLength => config.GetValue(nameof(MaxFortuneLength), 300);
|
||||
|
||||
public static string Token => config.GetValue(nameof(Token), "");
|
||||
public static string AzureDevOpsToken => config.GetValue(nameof(AzureDevOpsToken), "");
|
||||
|
||||
Reference in New Issue
Block a user