WildcatIP / other.js

The Chatternet feature platform
GNU Affero General Public License v3.0
7 stars 1 forks source link

Sticker pack from channel #141

Open tonygentilcore opened 7 years ago

tonygentilcore commented 7 years ago

From @kharmabum on November 3, 2016 18:57

This feature takes a channel and a "word" as input. When the word is detected in the staged body the feature returns media from the channel.

example

@mtkurlowski @aza @tonygentilcore

Copied from original issue: other-xyz/time-cone#140

tonygentilcore commented 7 years ago

From @aza on November 3, 2016 22:26

Pretty rad.

On Thu, Nov 3, 2016 at 11:58 AM Juan-Carlos Foust notifications@github.com wrote:

This feature takes a channel and a "word" as input. When the word is detected in the staged body the feature returns media from the channel. example

  • I create a sticker pack feature feature using the #catgifs channel and the word "catgif" as input.
  • On detecting "catgif" in the staged message text, the feature would fetch events from the channel, filter on events that contain media attachments, and return those attachments as chat complete results
  • The result would be that I would see cat gifs from #catgifs when I type "catgif"

@mtkurlowski https://github.com/mtkurlowski @aza https://github.com/aza @tonygentilcore https://github.com/tonygentilcore

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/other-xyz/time-cone/issues/140, or mute the thread https://github.com/notifications/unsubscribe-auth/AAE1iPPHD6ixHnR68T6SI4EZItUQE57nks5q6i65gaJpZM4KoyOA .

tonygentilcore commented 7 years ago

Blocked on #61