Пример #1
0
        public async Task ReplyGuides()
        {
            dynamic BotConfiguration = JsonConvert.DeserializeObject(System.IO.File.ReadAllText($"{Directory.GetCurrentDirectory()}{Path.DirectorySeparatorChar}config.json"));
            String  drivelink        = BotConfiguration.DriveLink;
            await Context.User.SendMessageAsync("", false, EmbedTool.GuidesEmbed(drivelink));

            if (!Context.IsPrivate)
            {
                await ReplyAsync($"You have e-mail, {Context.User.Username}");
            }
        }