Ejemplo n.º 1
0
        public async Task UnBanUser(ulong id)
        {
            var succ = await _banService.UnBanUser(id);

            if (succ)
            {
                await ReplyAsync("",
                                 embed : Utility.ResultFeedback(Utility.GreenSuccessEmbed, Utility.SuccessLevelEmoji[0],
                                                                "User has been globally unbanned from using Sora."));

                return;
            }
            await ReplyAsync("",
                             embed : Utility.ResultFeedback(Utility.RedFailiureEmbed, Utility.SuccessLevelEmoji[2],
                                                            "Couldn't unban user. Either he's already banned or smth broke."));
        }