You can block both NSFW and bot posts in your account settings. I do the former, but I don’t want to miss out on the good bots so I just block the bad ones individually. Then, memes usually stay in the meme communities and it is quite easy to block those.