Skip to content
hpeterPublic
forked from KavenC/Linot

About

LINE Chat Bot Framework

Resources

Stars

0 stars

Watchers

1 watching

Forks

 
 

Latest commit

 

History

48 Commits

Folders and files

Repository files navigation

Linot

Join the chat at https://gitter.im/KavenC/Linot
Linot is a chat bot for LINE™ App. It provides services to user through the LINE message interfaces.

Services

TwitchNotifier

TwitchNotifier let user subscribe twitch channels. When the subscribed channels goes live, Linot sends a LINE message to the subscribers with the channel infomation.

  • Example
User> twitch -subscribe Nightblue3
Linot> Done.
(When Nightblue3 goes live)
Linot>
Nightblue3 is now streamming!!
[Title] ASSASSIN/SATED JUNGLE META
[Playing] League of Legends
http://www.twitch.tv/nightblue3
  • Command List
User> twitch -h

Installation & Run

  1. This bot is run under Python2.7. You will also need LINE API package.
  2. Please notice that there is currently an issue on the thrift which may randomly connection lost when using LINE API. Please refere to this thread.
  3. Fill out generate_config.py and generate the config file.
  • Since it is a LINE chat bot, you need to provide a valid LINE account/password.
  • If you are going to load TwitchNotifier, you need to provide a oauth key to a twitch account.
  1. To run the bot: python run.py
  • You may need to enter the pompt code to the LINE app on your cellphone to complete the authentication process.

Run Tests

  1. We use nose to write test cases, make sure you have nose installed. ex: pip install nose
  2. Run test cases by: nosetests -c nose.cfg

About

LINE Chat Bot Framework

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages