refactor: tweet block function