0.0.15 • Published 5 years ago

ellipsis-random-response v0.0.15

Weekly downloads
-
License
ISC
Repository
-
Last release
5 years ago

Provides simple, random emoji and/or text responses to use with chat bots for various "themes".

const RandomResponse = require('ellipsis-random-response');

RandomResponse.emoji('happy') => '😀'
RandomResponse.emoji('happy') => '😊'

RandomResponse.response('confused') => 'Uh…'
RandomResponse.response('yes') => 'Absolutely'

RandomResponse.responseWithEmoji('oops') => '🙈 Don't worry about it.'
RandomResponse.responseWithEmoji('oops') => '🦃 These things happen.'

RandomResponse.greetingForTimeZone('America/New_York') => "👋 Good morning!"
RandomResponse.greetingForTimeZone('America/New_York') => "☀️ Good day."

Available themes:

[
  'happy',
  'celebratory',
  'congratulatory',
  'disappointed',
  'oops',
  'confused',
  'yes',
  'no',
  'understood',
  'hello',
  'appreciated',
  'sarcastic',
  'good_morning',
  'good_afternoon',
  'good_evening',
  'late_night'
]
0.0.15

5 years ago

0.0.14

5 years ago

0.0.13

5 years ago

0.0.12

6 years ago

0.0.11

6 years ago

0.0.9

7 years ago

0.0.8

7 years ago

0.0.7

7 years ago

0.0.6

7 years ago

0.0.5

7 years ago

0.0.4

7 years ago

0.0.3

7 years ago

0.0.2

7 years ago

0.0.1

7 years ago