Ejemplo n.º 1
0
        public async Task SonicSays(CommandContext ctx, [RemainingText] string input = "")
        {
            var img = Image.Load(@"Images\sonicsays.jpg");

            Font font = SystemFonts.CreateFont("Times New Roman", 12);

            var img_clone = img.Clone(img_ctx =>
                                      ImageHelper.ApplyScalingWaterMarkWordWrap(img_ctx, font, input, Color.Black, 20));

            var outputFile = @$ "temp\{ctx.Member.Id}{DateTime.UtcNow.Ticks}.jpg";