Forgot to cache if SetSettings is used
This commit is contained in:
parent
0587189963
commit
87983d97c3
@ -67,6 +67,9 @@ namespace NadekoBot.Services
|
||||
conf.SendChannelByeMessage = settings.SendChannelByeMessage;
|
||||
|
||||
await uow.CompleteAsync().ConfigureAwait(false);
|
||||
|
||||
var toAdd = GreetSettings.Create(conf);
|
||||
GuildConfigsCache.AddOrUpdate(guildId, toAdd, (key, old) => toAdd);
|
||||
}
|
||||
|
||||
return true;
|
||||
|
Loading…
Reference in New Issue
Block a user