Skip to content
This repository has been archived by the owner on Feb 3, 2019. It is now read-only.

Latest commit

 

History

History
executable file
·
289 lines (154 loc) · 7.44 KB

PLUGINS.md

File metadata and controls

executable file
·
289 lines (154 loc) · 7.44 KB

Sketal's plugins

AboutPlugin [plugins]

Answers with information about bot.


BirthdayPlugin [plugins.content]

Answers with birthday for users in group (but no more than max_users_in_group), for users in conference.


CalculatorPlugin [plugins.content.content_calculation]

Calculator plugin


DialogflowPlugin [plugins.content.content_dialogflow]

Plugin for integrating Dialogflow.


GraffitiPlugin [plugins.content]

Plugin turning image into graffiti.


MemeDoerPlugin [plugins.content.content_meme_doer]

Answers with picture with custom text on.


QRCodePlugin [plugins.content]

Answers with encoded and QR code data specified in command


QuoteDoerPlugin [plugins.content.content_quote_doer]

Answers with image containing stylish quote.


RandomPostPlugin [plugins.content]

Answers with random post from group specified in commgroups


SmileWritePlugin [plugins.content.content_smile_write]

Plugin printing text with emojies.


StatisticsPlugin [plugins.content]

Stores amount of messages for users in chats. Requires: StoragePlugin.


VideoPlugin [plugins.content]

Plugin sending some videos by request.


AntifloodPlugin [plugins.control]

Forbids users to send messages to bot more often than delay delay. If absolute is True, bot wont answer on more than 1 message in delay time.


ChatControlPlugin [plugins.control]

Allows admins to ban chats.


CommandAttacherPlugin [plugins.control]

Forwards command with it's answer.


DispatchPlugin [plugins.control]

Allows admins to send out messages to users.


ForwardedCheckerPlugin [plugins.control]

Checks messages' forwarded messages for commands.


HelpPlugin [plugins.control]

Answers with a user a list with plugins's descriptions from plugins.


NoQueuePlugin [plugins.control]

Forbids user to send messages to bot while his message is being processing by bot.


StaffControlPlugin [plugins.control]

Allows admins to ban people and control admins for plugins. Requires StoragePlugin. Admins are global. Moders are local for chats.


EchoPlugin [plugins]

Answers with a message it received.


AnagramsPlugin [plugins.games]

Answers with information about bot. Requires: StoragePlugin.


CounterPlugin [plugins.miscellaneous]

Useless plugin for counting up. Requires: StoragePlugin.


NamerPlugin [plugins.miscellaneous]

Answers with information about bot. Requires: StoragePlugin.


NotifierPlugin [plugins.miscellaneous]

Creates notification poping up after specified time


TimePlugin [plugins.miscellaneous]

Answers with current date and time.


ChatGreeterPlugin [plugins.multiuser]

Answers with message motd when user joins a chat.


ChatKickerPlugin [plugins.multiuser]

Allows admins to kick users for short amount of time. [prefix][command] [time in seconds if kicking]


MembersPlugin [plugins.multiuser]

Answers with users in conference. Doesn't show users offline if show_offline is False.


PairPlugin [plugins.multiuser]

Answers with 2 users separated by text text defaults to ❤ Любит ❤ .


WhoIsPlugin [plugins.multiuser]

Answers with a random user from conference with a title specified in command.


VoterPlugin [plugins.multiuser]

This plugin allows users to do votes in chats with ability to kick someone with votekick


Audio2TextPlugin [plugins.outsource]

Plugin turning audio messages to text.


EmotionsDetectorPlugin [plugins.outsource]

Answers with results of detecting emotions on sent image.


FacePlugin [plugins.outsource]

Plugin using FaceApp for changing photo.


JokePlugin [plugins.outsource]

Plugin sending some jokes.


SayerPlugin [plugins.outsource]

Answers with audio message of user's text


TranslatePlugin [plugins.outsource]

Answers with translated text from english to russian or from russian to english. You can change language pair by passing list of 2 names of desired languages (https://tech.yandex.ru/translate/).


WeatherPlugin [plugins.outsource]

Answers with a weather in user's city or on specified addres.


WikiPlugin [plugins.outsource]

Asnwers with found data from wikipedia


YandexNewsPlugin [plugins.outsource]

Answers with a news from News.Yandex.


ChatMetaPlugin [plugins.technical]

Adds chat_info to messages and events's meta["data_chat"] with chat's data if available (https://vk.com/dev/messages.getChat). You can refresh data with coroutine stored in meta['chat_info_refresh'].


StoragePlugin [plugins.technical]

Allows users and chats to store persistent data with MongoDB or in memory. Both storages are siuated in meta as data_user and data_chat and represented as dictionary with possible basic values (dict, list, tuple, int, float, str, bool). On the beggining theese fields are populated and after message processing it is saved to database. Data is saved only if was acessed. You can use sdict's methods and field changed for accessing data without saving it.


TinyDBPlugin [plugins.technical]

Adds self to messages and event's data field. Through this instance you can access TinyDB instance (data["tinydbproxy"].tinydb). This plugin should be included first!


UserMetaPlugin [plugins.technical]

Adds user_info to messages and events's meta with user's data if available (https://vk.com/dev/users.get). You can refresh data with coroutine stored in meta['user_info_refresh'].