Class: Lita::Handlers::Imgflip
- Inherits:
-
Handler
- Object
- Handler
- Lita::Handlers::Imgflip
- Defined in:
- lib/lita/handlers/imgflip.rb
Class Method Summary collapse
Instance Method Summary collapse
- #meme_all_the(response) ⇒ Object
- #meme_am_i_only(response) ⇒ Object
- #meme_are_belong(response) ⇒ Object
- #meme_bad_time(response) ⇒ Object
- #meme_better_drink(response) ⇒ Object
- #meme_everywhere(response) ⇒ Object
- #meme_fuck_you(response) ⇒ Object
- #meme_good_news(response) ⇒ Object
- #meme_grinds_my_gears(response) ⇒ Object
- #meme_grumpy_cat(response) ⇒ Object
- #meme_i_dont_always(response) ⇒ Object
- #meme_khanify(response) ⇒ Object
- #meme_live_dangerously(response) ⇒ Object
- #meme_looks_like(response) ⇒ Object
- #meme_not_impressed(response) ⇒ Object
- #meme_not_sure_if(response) ⇒ Object
- #meme_prepare_yourself(response) ⇒ Object
- #meme_simply(response) ⇒ Object
- #meme_success(response) ⇒ Object
- #meme_take_my_money(response) ⇒ Object
- #meme_time_for_that(response) ⇒ Object
- #meme_too_damn(response) ⇒ Object
- #meme_what_if_i(response) ⇒ Object
- #meme_would_be_great(response) ⇒ Object
- #meme_y_u_no(response) ⇒ Object
- #meme_yo_dawg(response) ⇒ Object
Class Method Details
.default_config(config) ⇒ Object
7 8 9 10 11 |
# File 'lib/lita/handlers/imgflip.rb', line 7 def self.default_config(config) config.command_only = true config.username = nil config.password = nil end |
Instance Method Details
#meme_all_the(response) ⇒ Object
54 55 56 |
# File 'lib/lita/handlers/imgflip.rb', line 54 def meme_all_the(response) generate_meme(response, 61533) end |
#meme_am_i_only(response) ⇒ Object
98 99 100 |
# File 'lib/lita/handlers/imgflip.rb', line 98 def meme_am_i_only(response) generate_meme(response, 259680) end |
#meme_are_belong(response) ⇒ Object
74 75 76 |
# File 'lib/lita/handlers/imgflip.rb', line 74 def meme_are_belong(response) generate_meme(response, 4503404) end |
#meme_bad_time(response) ⇒ Object
82 83 84 |
# File 'lib/lita/handlers/imgflip.rb', line 82 def meme_bad_time(response) generate_meme(response, 100951) end |
#meme_better_drink(response) ⇒ Object
114 115 116 |
# File 'lib/lita/handlers/imgflip.rb', line 114 def meme_better_drink(response) generate_meme(response, 61548) end |
#meme_everywhere(response) ⇒ Object
122 123 124 |
# File 'lib/lita/handlers/imgflip.rb', line 122 def meme_everywhere(response) generate_meme(response, 347390) end |
#meme_fuck_you(response) ⇒ Object
78 79 80 |
# File 'lib/lita/handlers/imgflip.rb', line 78 def meme_fuck_you(response) generate_meme(response, 165248) end |
#meme_good_news(response) ⇒ Object
62 63 64 |
# File 'lib/lita/handlers/imgflip.rb', line 62 def meme_good_news(response) generate_meme(response, 7163250) end |
#meme_grinds_my_gears(response) ⇒ Object
142 143 144 |
# File 'lib/lita/handlers/imgflip.rb', line 142 def meme_grinds_my_gears(response) generate_meme(response, 356615) end |
#meme_grumpy_cat(response) ⇒ Object
90 91 92 |
# File 'lib/lita/handlers/imgflip.rb', line 90 def meme_grumpy_cat(response) generate_meme(response, 405658) end |
#meme_i_dont_always(response) ⇒ Object
46 47 48 |
# File 'lib/lita/handlers/imgflip.rb', line 46 def meme_i_dont_always(response) generate_meme(response, 61532) end |
#meme_khanify(response) ⇒ Object
118 119 120 |
# File 'lib/lita/handlers/imgflip.rb', line 118 def meme_khanify(response) generate_meme(response, 2743696, text0: "", text1: khanify(response.matches[0][0])) end |
#meme_live_dangerously(response) ⇒ Object
134 135 136 |
# File 'lib/lita/handlers/imgflip.rb', line 134 def meme_live_dangerously(response) generate_meme(response, 8680117) end |
#meme_looks_like(response) ⇒ Object
94 95 96 |
# File 'lib/lita/handlers/imgflip.rb', line 94 def meme_looks_like(response) generate_meme(response, 7842373) end |
#meme_not_impressed(response) ⇒ Object
102 103 104 |
# File 'lib/lita/handlers/imgflip.rb', line 102 def meme_not_impressed(response) generate_meme(response, 117402) end |
#meme_not_sure_if(response) ⇒ Object
66 67 68 |
# File 'lib/lita/handlers/imgflip.rb', line 66 def meme_not_sure_if(response) generate_meme(response, 61520) end |
#meme_prepare_yourself(response) ⇒ Object
106 107 108 |
# File 'lib/lita/handlers/imgflip.rb', line 106 def meme_prepare_yourself(response) generate_meme(response, 6774155) end |
#meme_simply(response) ⇒ Object
86 87 88 |
# File 'lib/lita/handlers/imgflip.rb', line 86 def meme_simply(response) generate_meme(response, 61579) end |
#meme_success(response) ⇒ Object
50 51 52 |
# File 'lib/lita/handlers/imgflip.rb', line 50 def meme_success(response) generate_meme(response, 61544) end |
#meme_take_my_money(response) ⇒ Object
138 139 140 |
# File 'lib/lita/handlers/imgflip.rb', line 138 def meme_take_my_money(response) generate_meme(response, 176908) end |
#meme_time_for_that(response) ⇒ Object
130 131 132 |
# File 'lib/lita/handlers/imgflip.rb', line 130 def meme_time_for_that(response) generate_meme(response, 442575) end |
#meme_too_damn(response) ⇒ Object
58 59 60 |
# File 'lib/lita/handlers/imgflip.rb', line 58 def meme_too_damn(response) generate_meme(response, 61580) end |
#meme_what_if_i(response) ⇒ Object
110 111 112 |
# File 'lib/lita/handlers/imgflip.rb', line 110 def meme_what_if_i(response) generate_meme(response, 100947) end |
#meme_would_be_great(response) ⇒ Object
126 127 128 |
# File 'lib/lita/handlers/imgflip.rb', line 126 def meme_would_be_great(response) generate_meme(response, 563423) end |
#meme_y_u_no(response) ⇒ Object
42 43 44 |
# File 'lib/lita/handlers/imgflip.rb', line 42 def meme_y_u_no(response) generate_meme(response, 61527) end |
#meme_yo_dawg(response) ⇒ Object
70 71 72 |
# File 'lib/lita/handlers/imgflip.rb', line 70 def meme_yo_dawg(response) generate_meme(response, 101716) end |