robot

command module
v0.0.0-...-af8db51 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 24, 2017 License: MIT Imports: 22 Imported by: 0

README

robot

An amazing telegram robot.

JianShu Blog

Build Status

Feature

Basically, you can talk with the robot with both Chinese and English because it has 4 Artificial Intelligence inside:

Additionally, it supports the following commands:

/alarm - set an alarm
/alarms - show all of your alarms
/rmalarm - remove an alarm
/memo - save a memo
/memos - show all of your memos
/rmmemo - remove a memo
/movie - find movie download links
/show - find American show download links
/trans - translate words between english and chinese
/exit - exit any interactive mode
/help - show this help message

Is that all? More skills are developing and any suggestions will be greatly appreciated.

For more advanced usage, contact @EvolsnowBot right away.

Demo

Remember that the website can just show a part of the robot's skills. To be precise, it's just able to talk with you...

https://samaritan.tech (deprecated)

Installation

You can simply try the robot in telegram as mentioned above. But if you want to build your own robot:

  • redis is required.
  • create a telegram robot follow the reference
  • create your own configure file from the config.json file

After that, you have two options to run the robot:

  • Execute the binary file from release:
/path/to/file/robot -c /path/to/config.json
  • Or clone the object and build it yourself (golang required):
go get -u github.com/evolsnow/robot
go build github.com/evolsnow/robot
/path/to/file/robot -c /path/to/config.json

You may want to add -d flag to debug.

Development

This project is written in go.

Contact me for further questions: @evolsnow

License

The MIT License (MIT)

Documentation

Overview

Licensed under the MIT License (MIT)

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

get show and movie source download links

Directories

Path Synopsis
Package conn provides redis connection
Package conn provides redis connection

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL