Git Product home page Git Product logo

line-chatbot's Introduction

LINE-ChatBot

LINE Messaging Chat Bot.

Requirements & Dependencies

Libraries Needed:

  • Python 2.7.x
  • pip install line
  • pip install pafy
  • pip install goslate

Screenshot

IMAGE ALT TEXT HERE

Features

  • !botreply -> Auto Reply Feature.
  • !botbioskop -> Giving you an information about now playing cinemas/films.
  • !botkatamutiara -> Giving you a beautiful words.
  • !bottranslate ( ID - EN / EN - ID) -> Translating from Indonesia to English, English to Indonesia.
  • !botmeme -> Giving you a funny meme image from 1cak site.
  • !botyoutubemp3 -> Giving you a link which has converted from Youtube's video to mp3.
  • !botyoutubedl -> Giving you a link to download *.mp4 file video with the best quality.

Command Examples

See the command_examples.txt file

Tips

  • If you need to run your bot everytime , run the bot via cronjob/crontab in your server.
  • To Maximize the bot reply response, i suggest you to use this settings in your cron.
* * * * * sleep 15; python /home/user/public_html/linebot.py --mode your_mode --target your_target --execute
* * * * * sleep 30; python /home/user/public_html/linebot.py --mode your_mode --target your_target --execute
* * * * * sleep 45; python /home/user/public_html/linebot.py --mode your_mode --target your_target --execute

FAQ ( Frequently Asked Questions )

Q: How can i get the authentication token ( authtoken ) ?
A: Just Google or check the source code of LINE's python library. Please, try to find it by yourself dude!

Q: Whoa, i got the authentication token! So, where i can put this ?
A: Check "settings.py" inside "src" directory. Put it into AUTH_TOKEN variable.

Q: I got an error , how do i fix it ?
A: If you are not familiar with Python just wait for the official update source code by the author ( budanthara's github ). If you are a core pythonic programmer, try to fix it by yourself.

Q: I tried to chat with "!botreply" mode, but i didn't get any responses.
A: The first thing you should know. The bot will replying the messages when your LINE Account already added the others contact in the same group/room.

Q: How do i can add the others contact when the members of the group have so many members ?
A: Mass add group members under development, so try to add it manually for a while. Sorry btw :p

line-chatbot's People

Contributors

budanthara avatar orthographic-pedant avatar

Watchers

James Cloos avatar Chris Qiang 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.