.userpresnce no longer delted, use .clr if you want to clear

This commit is contained in:
Master Kwoth 2016-03-04 20:24:06 +01:00
parent 7ee43f6b55
commit b910c82a09

View File

@ -88,9 +88,7 @@ namespace NadekoBot.Commands {
Channel ch; Channel ch;
if (loggingPresences.TryGetValue(e.Server, out ch)) if (loggingPresences.TryGetValue(e.Server, out ch))
if (e.Before.Status != e.After.Status) { if (e.Before.Status != e.After.Status) {
var msg = await ch.SendMessage($"**{e.Before.Name}** is now **{e.After.Status}**."); await ch.SendMessage($"**{e.Before.Name}** is now **{e.After.Status}**.");
await Task.Delay(4000);
await msg.Delete();
} }
} catch { } } catch { }