Code Monkey home page Code Monkey logo

kb2abot-client's People

Contributors

citnut avatar khoakomlem avatar m3odev avatar quocvo1707 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

kb2abot-client's Issues

Contacting

Hi Khoa, it seems that your Facebook account is not available currently.
How can I contact you?

Đồng bộ kb2abot với kb2abot-cli

Trong bootload luôn cập nhật kb2abot-cli lên phiên bản mới nhất để tránh không load được plugin khi có structure mới từ kb2abot-cli

Tắt tự động cài package mỗi khi có update

Hiện tại kb2abot nó tự động cài mới package mỗi khi có update khiến cho việc nhưng plugin không phải internal (*) bị mất package và lại phải cài lại lần nữa trong lần boot tiếp theo

*: Là những plugin không có trên repo kb2abot hay nói cách khác là những plugin tự chế.

Spam detect

  • Plugin name: detectspam
  • How's it work: Auto detect spamming and disable the bot

Thanks.

Thêm các lệnh cho console

  • restart: Restart bot
  • status: Check status all bots
  • broadcast: send broadcast message
  • reload-plugin : Reload the selected plugin

Cập nhật cấu trúc plugin cho 1.x.x

Thêm props:

  • authorDetails: Thông tin cho người tạo plugin

Thay props:

  • fn thành các props: onLoad, onMessage, onCall cho plugin
    Cụ thể:

  • onLoad: Được gọi khi plugin được load

  • onMessage: Được gọi mỗi khi có tin nhắn đến (kể cả xài lệnh)

  • onCall: Được gọi khi sử dụng lệnh mình

Xóa prop: type

Thay cấu trúc plugin lần nữa :(

Dự định: Sẽ không còn khái niệm về utils nữa, các utils hiện tại sẽ chuyển hết sang helpers

Những thứ sẽ bị code lại:
+bootloader (load interface)
+all plugins
+kb2abot-cli create-plugin

Những thứ sẽ bị loại bỏ:

  • utils concept
  • ko đc sử dụng *utils của các plugin khác nữa (liên plugin)

Mục đích: Sẽ dễ sửa chữa plugin hơn khi tất cả file nó cần nằm gọn trong 1 folder (thay vì 2 folder plugins và utils như bản hiện tại *cũ)

Tại sao ko phải là zip?
-> Chuẩn bị cho kb2abot-api, nếu mà làm zip thì rất khó sửa chữa và maintain code

Auto Reply + English Version

  • Plugin name: Auto Reply
  • How's it work: It reply's to new messages automatically (To NON groups chats only)
    And Say the time you'll be home (That you specify)
  • Why we should adding it: I like to use this bot as "Assistant" and not more like "groups helper"

It would be a great help
and another thing, do you consider adding English ?

Thanks.

Recode plugin ytmp3

  • Plugin name: ytmp3
  • How's it work: search and download mp3

---- >

  • Plugin name: ytmp3, ytmp4
  • How's it work: search and download all type, quality of video

Thanks.

Translate

  • Plugin name: translate

TRANSLATE:

  1. GOOGLE:
    Template: https://translate.googleapis.com/translate_a/single?client=gtx&sl=auto&tl=en&dt=t&q=[text]
    --> Response with q = hello:
[[["xin chào","hello",null,null,1]
]
,null,"en",null,null,null,null,[]
]
  1. BING
    Template: http://api.microsofttranslator.com/V2/Ajax.svc/Translate?appId=68D088969D79A8B23AF8585CC83EBA2A05A97651&from=[from]&to=[to]&text=[text]
    --> Reponse with text = hello
"Xin chào"

DETECT LANGUAGE
Template: https://api.microsofttranslator.com/V2/Http.svc/Detect?&appid=68D088969D79A8B23AF8585CC83EBA2A05A97651&text=[text]
--> Response with text = xin chao

<string>vi</string>

Thanks.

Send messages

Is there a command or plugin to send a message to account or group at a specific time ?

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.