PantherHackers / PantherBot

PantherBot is a WebSocket Application that takes advantage of Slack's RTM API to interact with the channels that it is a part of.
Mozilla Public License 2.0
14 stars 14 forks source link

Added the !savage command for @Jim #71

Closed Nishnha closed 7 years ago

Nishnha commented 7 years ago

Added the file savage.py in /scripts/

mhijazi1 commented 7 years ago

This looks good, but as were waiting on braxton's refactor to go through, this will need to be chaned wonce that goes through. Mind holding off and fixing it then?

arshbot commented 7 years ago

The only change you'll probably need to implement is how you return things. Currently you return things in a list, but we are going to change that to return an object. Makes it easier for everyone

Nishnha commented 7 years ago

@mhijazi1 Can do. @arshbot whoops. Well looks like it will be a non-issue when it's actually implemented!

ghost commented 7 years ago

This is actually not functional at the moment. You have to wrap your string in an array or it will post each character as a message. Kind of moot at this point with the incoming refactor, but I just thought I'd let you know that this doesn't quite work.

ghost commented 7 years ago

Lol the multiple conversations at one time

mhijazi1 commented 7 years ago

Please pull from latest so this is now up to date with the latest changes. Response objects are now a thing so make sure your scripts returns one. If you need explanation for how todo this please talk to @braxton-mclean

ghost commented 7 years ago

Hey @Nishnha do you want to have another swing at this? Formatting your results and shaping the script like the helloworld.py script would be good.