Giter Site home page Giter Site logo

cmcsun / yourfavouriteponybot Goto Github PK

View Code? Open in Web Editor NEW

This project forked from gsass1/yourfavouriteponybot

0.0 2.0 0.0 516 KB

A Twitter bot that responds with your favourite pony

Home Page: https://twitter.com/YourFavPonyBot

Python 100.00%

yourfavouriteponybot's Introduction

Your Favourite Pony Bot

Build Status

"Your Favourite Pony Bot" is a Twitterbot that will try to find a Twitter users favourite pony by looking at his/her posted Tweets.

See the bot in action!

Requirements

  • Python 2.7
  • Tweepy
  • requests
  • DerPyBooru
  • sqlite3

Usage

python main.py -cf CONFIGFILE [options]

Options are:

  • --nu/--noupdate - Do not update Twitter status

Look in config.json.example for an example

Interaction

You can mention the bot in a tweet like this: "@YourFavPonyBot Sup?"

The bot will then respond ASAP with a list of ponies he evaluated as possible candidates for your favorite pony.

Example response: "@Guy Your favourite ponies are Fluttershy, Rainbow Dash or Rarity!"

Pinging

You can ping another user so the bot will try its Algorithm on that user instead.

Example: "@YourFavPonyBot Ping @Nuke928"

Example response: "@Nuke928 @Guy Your favourite ponies are Fluttershy, Rainbow Dash or Rarity :D"

Chit-chat

Upon replying on a reply of the bot, he will try to understand the message you are trying to tell him.

Example: "@YourFavPonyBot But thats not my pony :(" - will be evaluated as negative.

The bot will then try to reply in a context appropriate matter.

Example: "@Guy Wasn't me who programmed this!"

Remarks

Mentioned Tweet-IDs will be written to mentioned.db and the log file is log.txt

mentioned.txt migration of 19th Dec., 2014

We moved saving data in mentioned.txt to a SQL database. Please use migrate_mentioned.py to migrate your .txt file.

Help wanted with

We need a bigger list of ponies and more intelligent answers. Take a look at ponies.json, answers.json, responses.json, statement_indicators.json and scorewords.json! If any confusion just ask.

yourfavouriteponybot's People

Contributors

gsass1 avatar

Watchers

James Cloos avatar Chris McFee avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.