@@ -46,8 +46,8 @@ internal static class Config
46
46
public static string ? GitRevision { get ; private set ; }
47
47
48
48
// these settings could be configured either through `$ dotnet user-secrets`, or through environment variables (e.g. launchSettings.json, etc)
49
- public static string CommandPrefix => config . GetValue ( nameof ( CommandPrefix ) , "!" ) ! ;
50
- public static string AutoRemoveCommandPrefix => config . GetValue ( nameof ( AutoRemoveCommandPrefix ) , "." ) ! ;
49
+ public static string CommandPrefix => config . GetValue ( nameof ( CommandPrefix ) , "!" ) ;
50
+ public static string AutoRemoveCommandPrefix => config . GetValue ( nameof ( AutoRemoveCommandPrefix ) , "." ) ;
51
51
public static ulong BotGuildId => config . GetValue ( nameof ( BotGuildId ) , 272035812277878785ul ) ; // discord server where the bot is supposed to be
52
52
public static ulong BotGeneralChannelId => config . GetValue ( nameof ( BotGeneralChannelId ) , 272035812277878785ul ) ; // #rpcs3; main or general channel where noobs come first thing
53
53
public static ulong BotChannelId => config . GetValue ( nameof ( BotChannelId ) , 291679908067803136ul ) ; // #build-updates; this is used for new build announcements
@@ -79,20 +79,23 @@ internal static class Config
79
79
public static int ChannelMessageHistorySize => config . GetValue ( nameof ( ChannelMessageHistorySize ) , 100 ) ;
80
80
public static int FunMultiplier => config . GetValue ( nameof ( FunMultiplier ) , 1 ) ;
81
81
public static int MaxPositionsForHwSurveyResults => config . GetValue ( nameof ( MaxPositionsForHwSurveyResults ) , 10 ) ;
82
- public static string Token => config . GetValue ( nameof ( Token ) , "" ) ! ;
83
- public static string AzureDevOpsToken => config . GetValue ( nameof ( AzureDevOpsToken ) , "" ) ! ;
84
- public static string AzureComputerVisionKey => config . GetValue ( nameof ( AzureComputerVisionKey ) , "" ) ! ;
85
- public static string AzureComputerVisionEndpoint => config . GetValue ( nameof ( AzureComputerVisionEndpoint ) , "https://westeurope.api.cognitive.microsoft.com/" ) ! ;
82
+ public static string Token => config . GetValue ( nameof ( Token ) , "" ) ;
83
+ public static string AzureDevOpsToken => config . GetValue ( nameof ( AzureDevOpsToken ) , "" ) ;
84
+ public static string AzureComputerVisionKey => config . GetValue ( nameof ( AzureComputerVisionKey ) , "" ) ;
85
+ public static string AzureComputerVisionEndpoint => config . GetValue ( nameof ( AzureComputerVisionEndpoint ) , "https://westeurope.api.cognitive.microsoft.com/" ) ;
86
86
public static Guid AzureDevOpsProjectId => config . GetValue ( nameof ( AzureDevOpsProjectId ) , new Guid ( "3598951b-4d39-4fad-ad3b-ff2386a649de" ) ) ;
87
- public static string AzureAppInsightsConnectionString => config . GetValue ( nameof ( AzureAppInsightsConnectionString ) , "" ) ! ;
88
- public static string GithubToken => config . GetValue ( nameof ( GithubToken ) , "" ) ! ;
89
- public static string GoogleApiCredentials => config . GetValue ( nameof ( GoogleApiCredentials ) , "" ) ! ;
90
- public static string PreferredFontFamily => config . GetValue ( nameof ( PreferredFontFamily ) , "" ) ! ;
91
- public static string LogPath => config . GetValue ( nameof ( LogPath ) , "./logs/" ) ! ; // paths are relative to the working directory
92
- public static string IrdCachePath => config . GetValue ( nameof ( IrdCachePath ) , "./ird/" ) ! ;
87
+ public static string AzureAppInsightsConnectionString => config . GetValue ( nameof ( AzureAppInsightsConnectionString ) , "" ) ;
88
+ public static string GithubToken => config . GetValue ( nameof ( GithubToken ) , "" ) ;
89
+ public static string GoogleApiCredentials => config . GetValue ( nameof ( GoogleApiCredentials ) , "" ) ;
90
+ public static string PreferredFontFamily => config . GetValue ( nameof ( PreferredFontFamily ) , "" ) ;
91
+ public static string LogPath => config . GetValue ( nameof ( LogPath ) , "./logs/" ) ; // paths are relative to the working directory
92
+ public static string IrdCachePath => config . GetValue ( nameof ( IrdCachePath ) , "./ird/" ) ;
93
93
public static double GameTitleMatchThreshold => config . GetValue ( nameof ( GameTitleMatchThreshold ) , 0.57 ) ;
94
- public static byte [ ] CryptoSalt => Convert . FromBase64String ( config . GetValue ( nameof ( CryptoSalt ) , "" ) ! ) ;
95
- public static string RenameNameSuffix => config . GetValue ( nameof ( RenameNameSuffix ) , " (Rule 7)" ) ! ;
94
+ public static byte [ ] CryptoSalt => Convert . FromBase64String ( config . GetValue ( nameof ( CryptoSalt ) , "" ) ) ;
95
+ public static string RenameNameSuffix => config . GetValue ( nameof ( RenameNameSuffix ) , " (Rule 7)" ) ;
96
+
97
+ public static string ImgSrcNotInPublic => config . GetValue ( nameof ( ImgSrcNotInPublic ) , "https://cdn.discordapp.com/attachments/1207384388602560562/1344880816886517810/24qx11.jpg" ) ;
98
+ public static string ImgSrcNoCompatAbuse => config . GetValue ( nameof ( ImgSrcNoCompatAbuse ) , "https://cdn.discordapp.com/attachments/1207384388602560562/1344881154528116777/onionoff.png" ) ;
96
99
97
100
internal static class AllowedMentions
98
101
{
0 commit comments