示例#1
0
        public async Task KickSytze(CommandContext ctx, DiscordMember usr)
        {
            try
            {
                MemoryStream strm = await ImageManipulation.ProcessImageAsync(ctx.Member.Nickname ?? ctx.User.Username, usr.Nickname ?? usr.Username);

                strm.Position = 0;
                await ctx.RespondWithFileAsync("kicking.png", strm);
            }
            catch (Exception exce)
            {
                await ctx.RespondAsync("Dikke error chappie, geen image voor jou");
            }
        }