A bot that pats you on the head each time you write 1337 in 13:37
Find a file
Oleg `Kanedias` Chernovskiy 6c69f52274
Fix compilation, update deps
2024-04-26 14:43:21 +03:00
.vscode Config fixes 2020-03-09 20:48:00 +02:00
data Fixes in schema 2020-04-18 23:57:47 +03:00
migrations Added reporting for last score 2020-04-13 00:22:49 +03:00
src Add consolation prize if late match is close 2023-10-17 01:34:26 +03:00
.gitignore Initial commit 2020-03-09 14:56:53 +03:00
.gitlab-ci.yml Remove static build, no support in downstream libs unfortunately 2023-08-19 01:43:13 +03:00
AUTHORS.md Fix markdown syntax 2020-04-19 00:12:11 +03:00
Cargo.lock Fix compilation, update deps 2024-04-26 14:43:21 +03:00
Cargo.toml A lot of improvements, new charts, new commands 2023-08-18 19:04:35 +03:00
LICENSE Ready for release 2020-04-19 00:09:44 +03:00
README.md Avoid linkifying account 2020-04-19 00:14:53 +03:00
rustfmt.toml Proper timezone change 2020-04-05 03:49:51 +03:00

Telegram L33T Bot

This is a simple bot that gives you a high-five when you write 1337 in 13:37.

Features:

  • A high-five! (obviously)
  • Timezone awareness
  • Cleans its own messages after 1 minute
  • Combines all scores into summary post after 1 minute
  • Shows hint if you are in another timezone and trying to hit a score
  • Tracks all scores in a database to show high scores across all participants!

WIP:

  • Showing stats for chat
  • Showing stats for user

Compiling

This is a rust project, so usual rules apply:

$ # setup rustup: have cargo/rustc commands in your PATH
$ cargo build --release

Running

As this is a Telegram bot project, first you need to get your bot token from @BotFather Telegram account. After this is done, run it like this:

$ export TELEGRAM_BOT_TOKEN=<YOUR_BOT_TOKEN_HERE>
$ cargo run --release

License

Copyright (C) 2020 Oleg `Kanedias` Chernovskiy
Copyright (C) 2020 Phil `Sorseg` Samoylov

This program 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.

This program 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 this program.  If not, see <http://www.gnu.org/licenses/>.