From 6224e6f59e8289afc5c04e99cdfe8533e8b466f8 Mon Sep 17 00:00:00 2001 From: samvaio Date: Wed, 23 Nov 2016 22:16:14 +0530 Subject: [PATCH] thats it --- .../Modules/Administration/Commands/LogCommand.cs | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/NadekoBot/Modules/Administration/Commands/LogCommand.cs b/src/NadekoBot/Modules/Administration/Commands/LogCommand.cs index 0fed6657..08eebfe4 100644 --- a/src/NadekoBot/Modules/Administration/Commands/LogCommand.cs +++ b/src/NadekoBot/Modules/Administration/Commands/LogCommand.cs @@ -191,12 +191,12 @@ namespace NadekoBot.Modules.Administration //await logChannel.SendMessageAsync($@"`{prettyCurrentTime}` **Channel Name Changed** `#{after.Name}` ({after.Id}) await logChannel.SendMessageAsync($@"🕓`{prettyCurrentTime}`ℹī¸ **| Channel Name Changed |** #âƒŖ `{after.Name} ({after.Id})` `Old:` {before.Name} - **`New:` {after.Name}**").ConfigureAwait(false); + **`New:`** {after.Name}").ConfigureAwait(false); else if ((before as ITextChannel).Topic != (after as ITextChannel).Topic) //await logChannel.SendMessageAsync($@"`{prettyCurrentTime}` **Channel Topic Changed** `#{after.Name}` ({after.Id}) await logChannel.SendMessageAsync($@"🕘`{prettyCurrentTime}`ℹī¸ **| Channel Topic Changed |** #âƒŖ `{after.Name} ({after.Id})` `Old:` {((ITextChannel)before).Topic} - **`New:` {((ITextChannel)after).Topic}**").ConfigureAwait(false); + **`New:`** {((ITextChannel)after).Topic}").ConfigureAwait(false); } catch { } }); @@ -306,9 +306,9 @@ namespace NadekoBot.Modules.Administration return Task.CompletedTask; string str; if (before.Status != after.Status) - str = $"đŸ”ĩ`{prettyCurrentTime}`👤__**{usr.Username}**__ is now **{after.Status}**."; + str = $"âšĒī¸`{prettyCurrentTime}`👤__**{usr.Username}**__ is now **{after.Status}**."; else - str = $"🔷`{prettyCurrentTime}`👤__**{usr.Username}**__ is now playing **{after.Game}**."; + str = $"â—ģī¸`{prettyCurrentTime}`👤__**{usr.Username}**__ is now playing **{after.Game}**."; UserPresenceUpdates.AddOrUpdate(logChannel, new List() { str }, (id, list) => { list.Add(str); return list; }); @@ -461,9 +461,9 @@ namespace NadekoBot.Modules.Administration { //try { await logChannel.SendMessageAsync($@"🕔`{prettyCurrentTime}` **Message** 📝 `#{channel.Name}` //👤`{before.Author.Username}` - try { await logChannel.SendMessageAsync($@"🕔`{prettyCurrentTime}`👤__**{before.Author.Username}#{before.Author.Discriminator}**__ **| Edited Message |** 🆔 `{before.Author.Id}` #âƒŖ `{channel.Name}` - 📄`Old:` {before.Resolve(userHandling: UserMentionHandling.NameAndDiscriminator).SanitizeMentions()} - 📝**`New:`** {after.Resolve(userHandling: UserMentionHandling.NameAndDiscriminator).SanitizeMentions()}").ConfigureAwait(false); } catch (Exception ex) { _log.Warn(ex); } + try { await logChannel.SendMessageAsync($@"🕔`{prettyCurrentTime}`👤__**{before.Author.Username}#{before.Author.Discriminator}**__ **| 📝 Edited Message |** 🆔 `{before.Author.Id}` #âƒŖ `{channel.Name}` + `Old:` {before.Resolve(userHandling: UserMentionHandling.NameAndDiscriminator).SanitizeMentions()} + **`New:`** {after.Resolve(userHandling: UserMentionHandling.NameAndDiscriminator).SanitizeMentions()}").ConfigureAwait(false); } catch (Exception ex) { _log.Warn(ex); } }); return Task.CompletedTask;