Zirak / SO-ChatBot

Other
124 stars 60 forks source link

un one boxing content. #161

Closed rlemon closed 10 years ago

rlemon commented 10 years ago

A few guys in the c# room asked me (indirectly) to write them a plugin to make the bot un-onebox its own messages before the 2 minutes has expired. I wrote the plugin and tested it (works fine), however I don't know if it carries enough value to make it into the actual bot (out bot).

The plugin is a listener that only listens for the bots own messages that contain onebox content. After 90 seconds the bot edits the message and replaces it with a link followed by ellipsis.

Let me know if this should be implemented, maybe controlled by a enable / disable command ?? !!unonebox enable\disable

benjamingr commented 10 years ago

This is actually a clever idea. Unoneboxing (youtube etc) sounds useful. Let's do this +1.

Canop commented 10 years ago

Where do I star a issue ? How does GitHub work ? Where are my pants ?

benjamingr commented 10 years ago

(Bot should also unonebox gifs automatically imo, even if they're not its - with a flag)

rlemon commented 10 years ago

@benjamingr best I think we can do there is a userscript that automatically does that. I wish the bot could edit other peoples messages (evil grin)

benjamingr commented 10 years ago

The bot can bin messages with gifs that are oneboxed after two minutes

rlemon commented 10 years ago

So can you ;) and I think that is a little intrusive for the bot to auto bin all gifs after two minutes (or any amount of time in fact). BUT this makes me think about another feature that would be useful which is a !!bin :message_id command (invoked by an owner or two/three non owners would trigger the bot to bin the message) so if there is a gif or something on the screen on a slow day and no owners are around to remove it the active users can get Caprica to do so.

SomeKittens commented 10 years ago

:shipit:

honnza commented 10 years ago

I like migrating to the bin OR to the can, based on how serious an offense was to post the message. Can we get two commands, !!bin and !!trash?