.userpresnce no longer delted, use .clr if you want to clear
This commit is contained in:
parent
7ee43f6b55
commit
b910c82a09
@ -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 { }
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user