def format_message(city, magnitude):
    """Creates a twitter message using the city and magnitude"""
    short_slack_invite_url = "https://bit.ly/3wqhdGm"  # made on bitly, likely temporary
    event_msg = f"OpenEEW has detected an earthquake of magnitude {magnitude} in the city of {city}\n\n"
    disclaimer_msg = "Disclaimer Text : This is just a test \n\n"
    join_msg = f"To get involved join us on Slack {short_slack_invite_url}"
    twitter_msg = event_msg + disclaimer_msg + join_msg

    return twitter_msg