Adds and fixes

- added fullstops to deafen response.
- added word "voice" to make deletion of voice channel using `.dvch` more clear.
This commit is contained in:
samvaio 2016-11-20 15:36:31 +05:30 committed by GitHub
parent e98b2d3f68
commit 4320e1177e

View File

@ -540,7 +540,7 @@ namespace NadekoBot.Modules.Administration
{ {
await u.ModifyAsync(usr=>usr.Deaf = true).ConfigureAwait(false); await u.ModifyAsync(usr=>usr.Deaf = true).ConfigureAwait(false);
} }
await channel.SendMessageAsync("🔇 **Deafen** successful").ConfigureAwait(false); await channel.SendMessageAsync("🔇 **Deafen** successful.").ConfigureAwait(false);
} }
catch catch
{ {
@ -563,7 +563,7 @@ namespace NadekoBot.Modules.Administration
{ {
await u.ModifyAsync(usr=> usr.Deaf = false).ConfigureAwait(false); await u.ModifyAsync(usr=> usr.Deaf = false).ConfigureAwait(false);
} }
await channel.SendMessageAsync("🔊 **Undeafen** successful").ConfigureAwait(false); await channel.SendMessageAsync("🔊 **Undeafen** successful.").ConfigureAwait(false);
} }
catch catch
{ {
@ -577,7 +577,7 @@ namespace NadekoBot.Modules.Administration
public async Task DelVoiChanl(IUserMessage umsg, [Remainder] IVoiceChannel voiceChannel) public async Task DelVoiChanl(IUserMessage umsg, [Remainder] IVoiceChannel voiceChannel)
{ {
await voiceChannel.DeleteAsync().ConfigureAwait(false); await voiceChannel.DeleteAsync().ConfigureAwait(false);
await umsg.Channel.SendMessageAsync($"❗Removed channel **{voiceChannel.Name}**.").ConfigureAwait(false); await umsg.Channel.SendMessageAsync($"❗Removed voice channel **{voiceChannel.Name}** successfully.").ConfigureAwait(false);
} }
[NadekoCommand, Usage, Description, Aliases] [NadekoCommand, Usage, Description, Aliases]