DrrrChatbots / drrr-botext

chrome chatbot extension for drrr.com
MIT License
14 stars 5 forks source link

Drrr Chat Bot Extension

Install

Computer:

It's a chrome extension, so please use the google chrome browser, and goto Google WebStore to get the installation.

If your browser is Opera, you can try the Opera Extension to Install Chrome Extensions.

Phone:

The extension on Chrome App is not available, but you can use Yandex browser(Android, Yandex on iOS doesn't provide extension), the App uses chrome kernel, so you can goto Google WebStore to install the chatbot extension.

Kiwi browser can also run the extenson, but for some unknown bugs, I make a custmized version for it(the kiwi branch). You can install it via the .crx or install the version from WebStore

Background:

The background version let you change the icon (i.e. Bot cog) on the site. But it may run in the background, which means it would cost more resources.

Incoming:

Firefox add-ons is still under reviewing, and it may be both available on PC and Android.

Manual

Follow the manual

Discord

Join our discord channel to have some discussion.

DrrrChat

TODO

dev

Haven't documented features

peer chat room login mechanism

Tripcode

input => output (peer id = output + [0-9])

validation: input sign, (public key need to be generated) validation

No Tripcode

privateKey, publicKey

peerID = {publicKey}[0-9]

validation = validate publicKey (sign privateKey (otherPeerID))

Advanced Background Setting

[key], events, users, conts, func, params

key: string, [string], bool, [bool], [string, bool]
events: #string, [#string...]

// design: not self, neg
users: string, [string...]

// design: multiple keyword
conts: string, [string...]

func: #string

// design: consider more complex function params,
// qualified by conts matching
params: [string...]

"事件類型", "用戶匹配", "內容匹配", "函數", ["參數", ...]
["事件類型", ...], "用戶匹配", "內容匹配", "函數", ["參數", ...]

Playlist API (configurable)

@ time, identity group

Favlist to playlist, cycling instead of pop playing

Event action, rule by rule mechanism