GithubHelp home page GithubHelp logo

animal-facts-bot's Introduction

How to contribute (Teach AnimalFactsBot a new animal):

    Choose an animal listed in the issues or any other real animal.
  • Fork/clone the repo
  • Add a tuple of strings of facts (to animalfacts.py) pertaining to a particular animal. Name the tuple variable following the format 'NAMEOFANIMAL_FACTS'. Put the tuple in alphabetical order with the other tuples.
  • Add your tuple to the ALL_FACTS tuple.
  • Add a line to the check_comment_for_animal() function for your animal following the format.
  • Add your animal to the Readme

Please: Don't add a very small set of facts (this will cause the bot to be repetetive regarding your animal). Each fact must make sense independent of the other facts in the tuple because users will only get one fact at a time. Only add TRUE facts. Please no trolling with 'alternative facts'. Don't add 'seal', 'bat' or 'duck' facts unless you've figured out how to not reply to homonyms. Don't add 'cat' or 'dog' because they are just too common on reddit.

animal-facts-bot

A Reddit bot that searches for comments on reddit that contain the name of the animal and then replies to the comment with a fact about that animal.

You can see the bot in action at https://www.reddit.com/user/AnimalFactsBot/comments/

Current supported animals:

  • alligator
  • badger
  • beaver
  • camel
  • cheetah
  • cow
  • crab
  • cuttlefish
  • dolphin
  • dragon
  • eagle
  • echidna
  • elephant
  • emu
  • flamingo
  • fox
  • frog
  • giraffe
  • gorilla
  • hamster
  • hedgehog
  • hippo
  • horse
  • hummingbird
  • husky
  • jellyfish
  • kangaroo
  • koala
  • lion
  • leopard
  • lizard
  • monkey
  • narwhal
  • ocelot
  • octopus
  • otter
  • owl
  • panda
  • pangolin
  • panther
  • peacock
  • parrot
  • penguin
  • pig
  • pigeon
  • scorpion
  • seagull
  • shark
  • sloth
  • snake
  • tiger
  • turtle
  • wolf
  • whale
  • zebra

AnimalFactsBot will reply to its replies if they contain the phrases:

  • good bot
  • bad bot
  • thank
  • more
  • silly
  • TIL
  • AnimalFactsBot

AnimalFactsBot gets these fairly often.

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.