Steam-Chat-Bot / node-steam-chat-bot

Simplified interface for a steam chat bot
MIT License
102 stars 35 forks source link

Migrate to steam@1.0.0 (version 2.2.0) (meta) #92

Closed Efreak closed 9 years ago

Efreak commented 9 years ago

Migrating to node-steam@1.0.0

necessary changes in chatBot and triggers.

Notes:

bonnici commented 9 years ago

Dang how long has cleverbot been broken? I only just noticed now. I'll probably change the implementation on my branch to use https://cleverbot.io/ but not this weekend.

Efreak commented 9 years ago

I dunno. At first I thought they'd just banned me, so I quit using it. Recently I've gotten reports from other people that it wasn't working right--however, ella seems to have no problems, so...again, I dunno. I'll ask if there's anything nonstandard being run there.

Also, I suppose I should start watching your repo since I broke the link. (it was getting annoying to figure out how far apart my temporary branches were) I suppose I should import your updated youtube trigger as well, people don't seem to lik being told to just use '!google site:youtube.com' instead.

bonnici commented 9 years ago

I fixed cleverbot in https://github.com/bonnici/node-steam-chat-bot/commit/f2f53b615d9cd5520f5017192bcec831b22bbaa8 .

It's a pretty easy fix, just bump the version to 0.2.x and add a "Cleverbot.prepare(function() {" block around the cleverbot.write call.

kjsmita6 commented 9 years ago

I will try to get chatbot done this weekend.

Update: chatBot updated in commit https://github.com/Efreak/node-steam-chat-bot/commit/edddca5f1805b5cff358b1212bae976a93842963

Note: Not all may work. For example, I'm not even sure how to do announcements anymore. I didn't run it on my own bot, but it should work fine.

kjsmita6 commented 9 years ago

I don't think that we need a whole thread for this as I just ran my bot with only the updated chatBot.js and everything seems to work fine. If there's anything else you think we need to update then we should do that. I don't think BaseTrigger and most of the triggers will need any modifications since they all use methods defined in chatbot that have been updated already.

kjsmita6 commented 9 years ago

All triggers were updated in this commit https://github.com/Efreak/node-steam-chat-bot/commit/627c26435136f72272c3beb92fe963341ecfe484

kjsmita6 commented 9 years ago

Steam api calls updated in the commit: https://github.com/Efreak/node-steam-chat-bot/commit/bf323d523f2599b10a0ad9e41419616f4e5bd7d1

Efreak commented 9 years ago

Done. We should check changes in steam-1.1.0 for next release; hopefully they're not too much.