All Projects → demidko → timecobot

demidko / timecobot

Licence: MIT license
Telegram bot provides time-based currency and muteguns

Programming Languages

kotlin
9241 projects
Dockerfile
14818 projects

Projects that are alternatives of or similar to timecobot

react-springboot-mysql
A sample app with Spring Boot (Hibernate), React and MySQL with explanation and deployment.
Stars: ✭ 82 (+290.48%)
Mutual labels:  digitalocean
django-step-by-step
A Django + Vue reference project that focuses on developer tooling and CI/CD + IaC
Stars: ✭ 86 (+309.52%)
Mutual labels:  digitalocean
Hacktoberfest2021-for-everyone
This repository is for everyone who wants to participate in Hacktoberfest 2022. Anyone can contribute/add quality code or projects for your Swags (T- Shirt), must be relevant that can add some value to this repository.
Stars: ✭ 178 (+747.62%)
Mutual labels:  digitalocean
LiDeploy
🚀 A DigitalOcean Reseller written with Ruby On Rails
Stars: ✭ 20 (-4.76%)
Mutual labels:  digitalocean
rejig
Turn your VPS into an attack box
Stars: ✭ 33 (+57.14%)
Mutual labels:  digitalocean
digitalocean
Scala wrapper around Digital Ocean's API, version 2
Stars: ✭ 28 (+33.33%)
Mutual labels:  digitalocean
DOKS
Managed Kubernetes designed for simple and cost effective container orchestration.
Stars: ✭ 80 (+280.95%)
Mutual labels:  digitalocean
community.digitalocean
This Ansible collection contains modules for assisting in the automation of the DigitalOcean cloud.
Stars: ✭ 115 (+447.62%)
Mutual labels:  digitalocean
webping.cloud
Test your network latency to the nearest cloud provider in AWS, Azure, GCP, Alibaba Cloud, IBM Cloud, Oracle Cloud and DigitalOcean directly from your browser.
Stars: ✭ 60 (+185.71%)
Mutual labels:  digitalocean
hacktoberfest2021-Excluded
You can submit any PR and have SWAGS. Happy Hacktoberfest !
Stars: ✭ 63 (+200%)
Mutual labels:  digitalocean
terraform-digitalocean-variables
List of all available DigitalOcean droplet image distributions, one click applications, regions and sizes.
Stars: ✭ 26 (+23.81%)
Mutual labels:  digitalocean
open-source-enthusiasts
[ PLEASE DON'T USE THIS REPO ] Hacktoberfest 2020 movement to list out all the open source enthusiasts in one place. Want to make your PR count for Hacktoberfest? Add yourself in the list.
Stars: ✭ 40 (+90.48%)
Mutual labels:  digitalocean
ansible-role-do-agent
Cross-distro installation of the DigitalOcean monitoring agent
Stars: ✭ 22 (+4.76%)
Mutual labels:  digitalocean
fleex
Fleex makes it easy to create multiple VPS on cloud providers and use them to distribute workloads.
Stars: ✭ 181 (+761.9%)
Mutual labels:  digitalocean
hacktoberfest
Contribute to this repo for your T-shirt, must be relevant that can add some value to this repo.
Stars: ✭ 33 (+57.14%)
Mutual labels:  digitalocean
hactoberexplor
HacktoberExplor is for people who love to travel, explore and let others know about the beautiful places which they've visited, alongwith a photo and a short description about that place. Also you can add about yourself, your interests and your social media links, etc.
Stars: ✭ 16 (-23.81%)
Mutual labels:  digitalocean
HacktoberProfile
A profile list of Hacktoberfest 2019 participants. https://srinibasbiswal.github.io/HacktoberProfile/
Stars: ✭ 30 (+42.86%)
Mutual labels:  digitalocean
backup-suite
Backup database, static files and config to AWS S3 with Cronjob
Stars: ✭ 32 (+52.38%)
Mutual labels:  digitalocean
cloud-detect
Module that determines a host's cloud provider.
Stars: ✭ 28 (+33.33%)
Mutual labels:  digitalocean
dots
digital ocean api typescript/javascript wrapper
Stars: ✭ 65 (+209.52%)
Mutual labels:  digitalocean

Timecobot

Telegram bot provides time-based currency. The accumulated time can be used to block another user. There are no discriminatory rules, administrators and moderators. Bot also can be used to pin messages.

  1. Each user accumulates time. Time (currency) is calculated automatically using a secret formula.
  2. Time can be passed on to other people.
  3. The accumulated time can be used to block another user.
    User will remain in the chat, but user will not be able to write anything.
  4. Time can be used to ransom the user from the ban.
  5. Time can be used to pin messages.

2022.07.14 update

The project is on hold until there is a real need for practical application. Most of the time, people don't care who has the banhammer, they just want to chat, not get into gunfights. This game proved to be too difficult for most chats.

Usage

To start using the system, just add @timecobot to the group with admin rights. Bot understands spoken language (english and russian). Experiment!

Examples



User will remain in the chat, but he will not be able to write anything:

Build

./gradlew clean build

Self-executable jar will be located in build/libs. To start long polling execute command

REDIS=rediss://example.com:37081 TOKEN=4760:zGTAaKGo java -jar build/libs/*-all.jar

Deploy

Deploy to DigitalOcean

You need use a Redis cluster to store the time: specify the connection string via the DATABASE_URL environment variable.

TODO

  1. 'Ban feature' to restrict group's admins
  2. New command (timecobot2)
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].