Compare commits
No commits in common. "5b9cd88848f4f01d70ea6df8c7f945204e94e72a" and "b033b062a5b76fb235dbe8fe66d134d338adc6b8" have entirely different histories.
5b9cd88848
...
b033b062a5
2 changed files with 1 additions and 12 deletions
src/EllieBot
|
@ -269,9 +269,6 @@ public class MuteService : IEService, IReadyExecutor
|
|||
|
||||
foreach (var toOverwrite in await guild.GetTextChannelsAsync())
|
||||
{
|
||||
if (toOverwrite is IThreadChannel)
|
||||
continue;
|
||||
|
||||
try
|
||||
{
|
||||
if (!toOverwrite.PermissionOverwrites.Any(x => x.TargetId == muteRole.Id
|
||||
|
|
|
@ -74,15 +74,7 @@ public abstract class ConfigServiceBase<TSettings> : IConfigService
|
|||
Save();
|
||||
}
|
||||
|
||||
try
|
||||
{
|
||||
data = _serializer.Deserialize<TSettings>(File.ReadAllText(_filePath));
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
Log.Error(ex, "Error while loading {ConfigFilePath}", _filePath);
|
||||
throw;
|
||||
}
|
||||
data = _serializer.Deserialize<TSettings>(File.ReadAllText(_filePath));
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue