Giter Site home page Giter Site logo

mprakhar1705 / animal-facts-bot Goto Github PK

View Code? Open in Web Editor NEW

This project forked from joel-g/animal-facts-bot

0.0 0.0 0.0 3.58 MB

A very important bot that does the very important job of educating the public about animals.

Home Page: http://reddit.com/u/animalfactsbot/comments

Python 100.00%

animal-facts-bot's Introduction

How to contribute (Teach AnimalFactsBot a new animal):

Check the open issues to claim a listed animal, or come up with your own. Be sure to also check currently open pull requests to make sure you don't duplicate someone else's work.

Due to Hacktoberfests pull requests are coming in fast! Comment on an issue you are going to work on - and also check open pull requests before you do work someone else has already done.

Steps:

  • 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. Make sure your lines are indented by 4 spaces and please use ' for your strings.
  • 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 in alphabetical order.
  • Add me on Twitter @joelatwar

Please:

  • Don't add a very small set of facts (this will cause the bot to be repetitive 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.

If you have a question the quickest way to reach is me on twitter @joelatwar

animal-facts-bot

Animal-facts-bot is 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:

  • Aardvark
  • Albatross
  • Alligator
  • Alpaca
  • Anaconda
  • Anglerfish
  • Ant
  • Anteater
  • Antelope
  • Armadillo
  • Atlantic puffin
  • Badger
  • Bear
  • Beaver
  • Bison
  • Bobcat
  • Buffalo
  • Camel
  • Capybara
  • Chameleon
  • Cheetah
  • Chimpanzee
  • Chinchilla
  • Chipmunk
  • Clownfish
  • Cobra
  • Cougar
  • Cow
  • Crab
  • Crane
  • Crayfish
  • Crocodile
  • Cuttlefish
  • Deer
  • Degu
  • Dingo
  • Dodo
  • Dolphin
  • Dugong
  • Eagle
  • Earthworm
  • Echidna
  • Eland
  • Elephant
  • Elephant shrew
  • Elk
  • Emu
  • Falcon
  • Flamingo
  • Fox
  • Fire salamander
  • Frog
  • Gazelle
  • Gecko
  • Giraffe
  • Goat
  • Goose
  • Gopher
  • Gorilla
  • Grasshopper
  • Hamster
  • Hedgehog
  • Hippo
  • Honeybee
  • Honey badger
  • Horse
  • House fly
  • Hummingbird
  • Husky
  • Iguana
  • Jackal
  • Jellyfish
  • Jerboa
  • Kangaroo
  • Kiwi
  • Koala
  • Ladybug
  • Lamprey
  • Lemur
  • Leopard
  • Lion
  • Lizard
  • Llama
  • Lobster
  • Lynx
  • Manatee
  • Mantis shrimp
  • Meerkat
  • Mink
  • Markhor
  • Mongoose
  • Monkey
  • Moose
  • Narwhal
  • Newt
  • Ocelot
  • Octopus
  • Opossum
  • Orangutan
  • Orca
  • Oryx
  • Ostrich
  • Otter
  • Owl
  • Panda
  • Pangolin
  • Panther
  • Parrot
  • Peacock
  • Peccary
  • Penguin
  • Pig
  • Pigeon
  • Platypus
  • Porcupine
  • Pufferfish
  • Puma
  • Quokka
  • Rabbit
  • Raccoon
  • Rattlesnake
  • Raven
  • Salmon
  • Scorpion
  • Seagull
  • Sea cucumber
  • Sea urchin
  • Shark
  • Sheep
  • Shrimp
  • Skunk
  • Sloth
  • Snail
  • Snake
  • Squirrel
  • Starfish
  • Stingray
  • Sturgeon
  • Sunfish
  • Tarantula
  • Tardigrade
  • Tasmanian devil
  • Tiger
  • Toad
  • Toucan
  • Trout
  • Turtle
  • Vampire bat
  • Wallaby
  • Walrus
  • Warthog
  • Whale
  • Wolf
  • Wolverine
  • Yak
  • Zebra
  • Zebrafish

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.

animal-facts-bot's People

Contributors

joel-g avatar mpentler avatar yusadolat avatar jarredt avatar soumya-ranjan7 avatar arabins avatar lumosnox9 avatar lilaht avatar kazoni avatar charmgeorge avatar airbos994 avatar pdejan avatar cassigs avatar jackmcbride avatar pranavmuth avatar dennism0027 avatar kurokochin avatar mblascoe avatar s-bridges avatar kelvinosh avatar icangetyouatoe avatar d-grossman avatar cricketer94 avatar boivern avatar firefly87 avatar catun avatar theindianotaku avatar cfabian avatar andrewmontoyaiv avatar akankshajolly 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.