mirror of
https://gitlab.com/Kwoth/nadekobot.git
synced 2025-09-10 17:28:27 -04:00
Medusae names should now be case sensitive and will be saved in the config with the proper capitalization
This commit is contained in:
@@ -22,8 +22,6 @@ public sealed class MedusaConfigService : ConfigServiceBase<MedusaConfig>, IMedu
|
|||||||
|
|
||||||
public void AddLoadedMedusa(string name)
|
public void AddLoadedMedusa(string name)
|
||||||
{
|
{
|
||||||
name = name.Trim().ToLowerInvariant();
|
|
||||||
|
|
||||||
ModifyConfig(conf =>
|
ModifyConfig(conf =>
|
||||||
{
|
{
|
||||||
if (conf.Loaded is null)
|
if (conf.Loaded is null)
|
||||||
@@ -36,8 +34,6 @@ public sealed class MedusaConfigService : ConfigServiceBase<MedusaConfig>, IMedu
|
|||||||
|
|
||||||
public void RemoveLoadedMedusa(string name)
|
public void RemoveLoadedMedusa(string name)
|
||||||
{
|
{
|
||||||
name = name.Trim().ToLowerInvariant();
|
|
||||||
|
|
||||||
ModifyConfig(conf =>
|
ModifyConfig(conf =>
|
||||||
{
|
{
|
||||||
if (conf.Loaded is null)
|
if (conf.Loaded is null)
|
||||||
|
Reference in New Issue
Block a user