def is_bot_message(event: dict) -> bool:
    """
    Determine if the message is generated by
    the SlackBot or not.
    """
    if 'bot_id' in event:
        return True
    elif 'message' in event and 'bot_id' in event['message']:
        return True
    else:
        return False