Race animals won't be migrated
This commit is contained in:
parent
d69a960e45
commit
a6f02249d6
@ -326,12 +326,6 @@ namespace NadekoBot.Modules.Administration
|
|||||||
oldConfig.RotatingStatuses.ForEach(i => messages.Add(new PlayingStatus { Status = i }));
|
oldConfig.RotatingStatuses.ForEach(i => messages.Add(new PlayingStatus { Status = i }));
|
||||||
botConfig.RotatingStatusMessages = messages;
|
botConfig.RotatingStatusMessages = messages;
|
||||||
|
|
||||||
//races
|
|
||||||
var races = new HashSet<RaceAnimal>();
|
|
||||||
oldConfig.RaceAnimals.ForEach(i => races.Add(new RaceAnimal() { Icon = i, Name = i }));
|
|
||||||
if (races.Any())
|
|
||||||
botConfig.RaceAnimals = races;
|
|
||||||
|
|
||||||
//Prefix
|
//Prefix
|
||||||
botConfig.ModulePrefixes.Clear();
|
botConfig.ModulePrefixes.Clear();
|
||||||
botConfig.ModulePrefixes.AddRange(new HashSet<ModulePrefix>
|
botConfig.ModulePrefixes.AddRange(new HashSet<ModulePrefix>
|
||||||
|
Loading…
Reference in New Issue
Block a user