mirror of
https://gitlab.com/Kwoth/nadekobot.git
synced 2025-09-11 17:58:26 -04:00
Implemented .linkonly (as an alternative to .imageonly). Updated pokaman with latest generations. Updated responses, fixed some warnings
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
#nullable disable warnings
|
||||
using LinqToDB;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
using NadekoBot.Common.ModuleBehaviors;
|
||||
@@ -391,9 +392,9 @@ public class XpService : INService, IReadyExecutor, IExecNoCommand
|
||||
|
||||
template = JsonConvert.DeserializeObject<XpTemplate>(
|
||||
File.ReadAllText(XP_TEMPLATE_PATH),
|
||||
settings);
|
||||
settings)!;
|
||||
|
||||
if (template!.Version < 1)
|
||||
if (template.Version < 1)
|
||||
{
|
||||
Log.Warning("Loaded default xp_template.json values as the old one was version 0. "
|
||||
+ "Old one was renamed to xp_template.json.old");
|
||||
|
Reference in New Issue
Block a user