Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/tmobaird/math_reddit_bot


https://github.com/tmobaird/math_reddit_bot

Last synced: 12 days ago
JSON representation

Awesome Lists containing this project

README

        

# math_reddit_bot
This bot acts almost like a simple calculator. To use this bot the indicator word math must first be used.
The word math is then followed by the operator you would like to use ("add", "subtract", "multiply", "divide").
The operator is followed by the numbers the operator will be acting upon.

Example input and output:

input: math add 2 3
bot response: your answer is 5

Example 2:

input: math multiply 2 2 2 2
bot response: your answer is 16

link to umw_cpsc470Z subreddit: http://www.reddit.com/r/umw_cpsc470Z/
link to math_reddit_bot test page: http://www.reddit.com/r/umw_cpsc470Z/comments/2udmey/simple_math_bot/