Are you sure it's message.warning and not just message? The Twit documentation isn't super clear. What are you basing this on? If you are sure that's fine.