Skip to content

Instantly share code, notes, and snippets.

@KyMidd
Last active July 23, 2025 01:06
Show Gist options
  • Select an option

  • Save KyMidd/3ca562a18ccdd4637a812e7dba14d225 to your computer and use it in GitHub Desktop.

Select an option

Save KyMidd/3ca562a18ccdd4637a812e7dba14d225 to your computer and use it in GitHub Desktop.
# "Loading" messages for Teams
teams_loading_responses = [
"🤔 Vera is reading our knowledge bases and building a response",
"🤓 Vera's reading ALL the docs and will respond soon",
"🤖 Vera is reading everything and computing a response beep boop",
"🤖 Vera's doing her best here, getting back to you shortly",
]
def message_handler(event_body, bot_bearer_token, user_graph_auth_token, bedrock_client):
# Randomly select a response
response = random.choice(teams_loading_responses)
# We're on it
respond_to_teams(
bot_bearer_token,
event_body,
response,
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment