Пример #1
0
        public async Task UnmuteAsync(
            [Summary("Billy#6969")][NoSelf][Muted] IGuildUser guildUser,
            [Summary("you best stop flirting with Mrs Ruckus")][Remainder]
            [MaximumLength(Config.MAX_REASON_LENGTH)] string reason)
        {
            await guildUser.RemoveRoleAsync(Context.Guild.GetRole(Context.DbGuild.MutedRoleId.Value));

            await Context.ReplyAsync($"You have successfully unmuted {guildUser.Bold()}.");

            await _modService.RemoveMute(Context, guildUser, reason);
        }