Skip to content

Commit

Permalink
Adds more loading messages (#3)
Browse files Browse the repository at this point in the history
  • Loading branch information
simonbs authored Mar 6, 2023
1 parent 81c2cb6 commit b11788f
Showing 1 changed file with 19 additions and 4 deletions.
23 changes: 19 additions & 4 deletions src/Slack/SlackLoadingMessage.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,25 @@
export class SlackLoadingMessage {
static getRandom(): string {
const messages = [
"🤖 Let me think about that for a second...",
"🤖 Crunching, crunching, crunching...",
"🤖 Let me see...",
"🤖 Hold on a second, please."
"Let me think about that for a second...",
"Crunching, crunching, crunching...",
"Let me see...",
"Hold on a second, please.",
"Loading... It's not you, it's me. I'm always this slow.",
"Hold tight! I'm working to find the best response for you.",
"I'm thinking, please wait a moment.",
"Just a few more seconds, I am is processing your query.",
"I am looking up the information you requested. Thanks for your patience!",
"This might take a moment.",
"I'm working hard to get you the answer you need. Please wait a few more seconds.",
"Searching for the best solution to your query. Hang in there.",
"Preparing your response. It will be with you in no time!",
"I'm working overtime to give you the best response. Thank you for your patience.",
"Good things come to those who wait, like unicorns and rainbows.",
"Grab a snack while you wait, we'll be here for a while.",
"Loading... Don't worry, I'm just taking a coffee break.",
"If patience is a virtue, you're about to become a saint. I'm loading...",
"I'm running on caffeine and code. I'll be with you shortly!"
]
const idx = Math.floor(Math.random() * messages.length)
return messages[idx]
Expand Down

0 comments on commit b11788f

Please sign in to comment.