telegram-bot icon indicating copy to clipboard operation
telegram-bot copied to clipboard

Request: Cleverbot Plugin

Open davoz96 opened this issue 9 years ago • 13 comments

How about a plugin for Cleverbot? I think it would be very cool :)

davoz96 avatar Apr 30 '15 22:04 davoz96

nice idea!

juanjeakabob avatar May 10 '15 12:05 juanjeakabob

I want it so much

dausruddin avatar May 19 '15 23:05 dausruddin

This would be great

JuanPotato avatar May 22 '15 07:05 JuanPotato

+1

nutinshell avatar May 23 '15 15:05 nutinshell

+1

bizkut avatar May 23 '15 15:05 bizkut

https://github.com/venam/tg-bot

bizkut avatar May 23 '15 15:05 bizkut

+1

Wawoul avatar Jun 07 '15 13:06 Wawoul

Actually, I made the plugin for private usage. But I dont recommend it to anyone to use cleverbot. This is because for some period, the api cant be access, resulting bot not responding to user's queries. I recommend pandorabot instead.

dausruddin avatar Jun 07 '15 13:06 dausruddin

Actually, I made the plugin for private usage. But I dont recommend it to anyone to use cleverbot. This is because for some period, the api cant be access, resulting bot not responding to user's queries. I recommend pandorabot instead.

Doesn't pandorabot also have a limited amount of calls to it?

Wawoul avatar Jun 07 '15 13:06 Wawoul

I dont know @Wawoul , I dont have many request currently. At least, it doesnt stop randomly :P

dausruddin avatar Jun 07 '15 14:06 dausruddin

+1

EklavyaFCB avatar Aug 16 '15 16:08 EklavyaFCB

+1

Karlheinzniebuhr avatar Sep 17 '15 21:09 Karlheinzniebuhr

I made a simple plugin :) You can use my url or you can clone the chatter-bot-api yourself: https://github.com/pierredavidbelanger/chatter-bot-api

do

function run(msg, matches)
 local text = msg.text
 local url = "https://static.wiidatabase.de/personal/chatter-bot-api/cleverbot.php?text="..URL.escape(text) --- replace with your url
 local query = https.request(url)
 if query == nil then return 'An error happened :(' end
 local decode = json:decode(query)
 return decode.clever
end


return {
  description = "chat with cleverbot!", 
  usage = "!cbot [text]: chat with cleverbot",
  patterns = {
    "^!cbot (.*)$"
 },
 run = run
}

end

Brawl345 avatar Oct 08 '15 21:10 Brawl345