Coder Social home page Coder Social logo

piterden / captcha_only_bot Goto Github PK

View Code? Open in Web Editor NEW
17.0 2.0 5.0 157 KB

Configurable per group captcha bot for the Telegram messenger.

Home Page: https://t.me/captcha_only_bot

JavaScript 99.15% Shell 0.85%
telegram bot captcha admin antispam user-friendly

captcha_only_bot's Introduction

Captcha Only Bot

Travis (.org) GitHub search hit counter GitHub code size in bytes

Captcha admin bot.

!!! Bot requires admin rights and looses its sense either!

Overview

Each newcomer to a chat will be instantly restricted to do anything in a chat, until he choose a correct answer to a question. A question and an answer options may be edited. Options are placed on inline keyboard buttons.

Commands

  • /settings - Works only in groups and only for admins!!! Shows the settings overview and editor.

Settings command

Parameter Type Default
Captcha timeout Number 300
Parameter Type Default
Time to unban Number 40
Parameter Type Default
Greetings message String Hello, {name}. You should answer a question to enter a chat.
Parameter Type Default
Question message String What is this chat about?
Parameter Type Default
Success message String Welcome, {name}!
Parameter Type Default
Wrong user toast String Not for you, asshole!!!
Parameter Type Default
Success toast String Correct! Welcome to a chat!
Parameter Type Default
Failed toast String No! Read a chat description and try one more time after a few minutes!
Parameter Type Default
Answers list Array MySQL\nKitties\nAnime

captcha_only_bot's People

Contributors

piterden avatar

Stargazers

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

Watchers

 avatar  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.