myk0la-b / DemoBot

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Democratic Bot

Vote kick bot for Telegram.
@chatdemocratic_bot

Download latest version's source code

You can download source code of DemoBot v1.0.0-alpha.2 here

Features

Just mention bot in reply to message of user whom you want to kick. Bot will kick him (if 'yes' was choosed more times than 'no') in 12 hours. Poll will be closed in 24 hours.

  • Several languages
  • Bug reporting

Planned features

  • Static count of 'yes' votes that is needed to kick
  • Changable timeouts

Contribution

You can freely contribute to our github. There're many things you can do: fix bugs, add new features, make translations. Please follow several simple rules:

  • Create one issue per one bug
  • Do not duplicate issues
  • Specify the platform in issues
  • Specify steps to reproduce in issues
  • Create one pull request per one feature
  • Create one commit for one small piece of implementation
  • Write simple functions. Every function must do one small thing. All actions in function must be on one abstraction level
  • Specify type of return value and arguments, e.g.
def check(site: dict) -> bool:
    """Check if site is available."""
    
    pass
  • Write pydocs if it's needed
  • Write unit tests for your code (python unittest) and put it in "tests" folder
  • Place copyright and licence header in top of every file, you can find example in any project source file
  • Before starting pull request, run all unit tests to make sure that you did not break anything
  • Add your name to list of contributors in end of this file

License

GNU GPL v3 logo

Site Monster is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

Site Monster is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with Site Monster. If not, see https://www.gnu.org/licenses/.

Authors and copyright

Copyright (C) 2018 Koni Dev Team, All Rights Reserved
For any questions contact nikitaserba@icloud.com
Project team:

About

License:GNU General Public License v3.0


Languages

Language:Python 100.0%