Commit graph

295 commits

Author SHA1 Message Date
1c713de46d Add /kick command and remove botan support (#38)
* kick handler test

* Add authentication and fix bugs

* Add help text

* minor fix

* Remove useless comments

* Get user object from reply first.

* Update bot.py

* minor fix

* update help text

* Update AUTHORS.md

* Remove old /kick implementation

* minor fix

* Manually merge upstream changes

* No need to accept args

* remove unused chat_setting.py

* botan

* import botan from submodule for compatibility with python-telegram-bot 8.1+

* fix typo

* Update requirements.txt

* delete submodule

* Drop botan support completely

* Refine the way of getting config

* Bug fix
2017-12-07 09:27:51 +01:00
Jannes Höke
187cc6f4ea new (temp) stickers for r_8 and g_9 2017-11-27 18:32:34 +01:00
Jannes Höke
5d60f8c853 renaming files 2017-11-27 18:02:55 +01:00
Jannes Höke
2ad1c253d0 add webp_lowsat 2017-11-27 18:02:29 +01:00
Jarv
ea881cf520 Added gamemodes. New mode: Fast. (#44)
* Changes for possible bug

* New sanic mode wip

* More changes for fast mode, WIP

* Fast mode is playable (code is ugly tho)

* Fixed skip error

* Fixed fast mode error

* Bug fixing

* Possible fix for the /leave bug before the game starts

* Update README to include Codacy badge

* Fixing error prone code

* Removing code smells

* Removing more code smells

* How long can this go on? (More smells according to Codacy)

* Compile locale fixed for Linux. Small es_ES fix.

* Major refactoring

* Wild mode finished. Changed emojis for text in log.

* Removing test prints, back to emojis

* Code cleaning and fix for player time in fast mode

* Changing help to not override builtin function

* Decreased bot.py's complexity

* Default gamemode is now Fast. Added a bot configuration file

* back to random

* Moved logger to shared_vars

* Added MIN_FAST_TURN_TIME to config and fixed 'skipped 4 times' message

* Pull review changes

* More review changes

* Removing codacy badge linked to my account for pull request

* Fixed first special card issue, logger back to how it was (with just one logging init)

* Renamed gameplay config file to gameplay_config.py.
2017-11-27 17:59:19 +01:00
Jannes Höke
9a652011db add webp 2017-11-27 17:58:41 +01:00
Jannes Höke
f2e760e321 Update requirements.txt 2017-10-23 14:02:15 +02:00
Jarv
a4c742bc00 Pull request with compile.sh and TRANSLATORS.md change (#41)
* Added a bash script to simplify the locale compilation

* Updated TRANSLATORS to include myself
2017-09-19 23:37:47 +02:00
Jarv
80fc59f124 Improved most messages in spanish (#39) 2017-09-19 17:40:14 +02:00
jimchen5209
94bfea3a09 Remove @unobot in some of the translation. (#37) 2017-09-15 02:24:28 +02:00
Jannes Höke
ed9084b5c4 install requirements 2017-08-21 21:44:30 +02:00
Jannes Höke
09d01d001b add cached admin check 2017-08-19 00:08:55 +02:00
Jannes Höke
63bf9e4035 fix import of database models, botan 2017-08-18 23:57:18 +02:00
jimchen5209
b430b26360 Add translater (#31)
* Update TRANSLATORS.md

* Update TRANSLATORS.md
2017-08-18 23:36:51 +02:00
Simon Shi
783e010956 python-telegram-bot v7 compatability + more (#35)
* Remove import of telegram.Emoji

* Using a list of filters in MessageHandler is getting deprecated

* Update requirements

Proudly upgrades to latest python-telegram-bot

* Refine readme

* Test kill command

* Another implement

* Add /kill command

* initial config support

* json config

* Add token into json

* Typo

* Add Admin list

* Refine admin & starter

* Fix an exception

* Fix typo

* refine readme

* Update help
2017-08-18 23:36:30 +02:00
Jannes Höke
8be4bc688d add missing } 2017-07-19 17:05:19 +02:00
Karho
01640d1df9 Update README.md 2017-02-24 13:26:58 +08:00
Karho
284eb91633 Merge pull request #23 from jimchen5209/patch-2
Update unobot.po
2017-02-04 13:56:46 +08:00
Karho
bd307b6195 Merge pull request #24 from maildian/master
simple fix for botan
2017-02-04 13:56:20 +08:00
Karho
82ecec2d45 Merge pull request #26 from KazamaSion/master
fix some translate mistake in zh-CN.
2017-02-04 13:54:13 +08:00
Kazama Sion
e1d559e546 fix some translate mistake in zh-CN. 2017-01-29 22:57:50 +08:00
editpes
2abdc46ad1 simple fix for botan 2016-11-22 17:51:37 +07:00
jimchen5209
3dad1dfebb Update unobot.po 2016-11-21 20:25:30 +08:00
Jannes Höke
192bbf4b27 fix name of zh_tw 2016-11-19 11:57:14 +01:00
Alexandr
c3a35e739e Fixes list number (#22) 2016-11-18 19:58:04 +01:00
Jannes Höke
58555f5f21 Fix end-of-line within string 2016-11-18 18:37:53 +01:00
Alexandr
b2ff307964 Adds ru_RU language (#21) 2016-11-18 18:29:01 +01:00
jimchen5209
35f0e9308e Zh-Tw Translatiion (#20)
I found many translation mistakes in this translation and some of the new strings weren't translated ,and I have re-translated from English.
2016-11-18 18:27:40 +01:00
Jannes Höke
09319faf94 Merge pull request #19 from editpes/master
Create requirements.txt
2016-11-08 22:50:56 +01:00
editpes
eae0a1a1b7 Update requirements.txt
change python-telegram-bot to version 5
2016-11-06 18:12:24 +07:00
editpes
22b046e961 Create requirements.txt 2016-10-30 13:00:15 +07:00
Jannes Höke
9d2524da5a replace mau_mau_bot by unobot 2016-10-27 14:44:08 +02:00
Jannes Höke
7d499b21aa Update README.md 2016-10-27 14:01:23 +02:00
Jannes Höke
b2f78fdbaa Setup instructions 2016-09-01 03:58:46 +02:00
Jannes Höke
9c74d408b7 Update README.md 2016-08-08 02:27:24 +02:00
Jannes Höke
f1b241d808 correct command handler 2016-07-05 00:40:36 +02:00
Jannes Höke
ba81ab614a use set instead of list for notify_me command 2016-07-05 00:38:02 +02:00
Jannes Höke
b0ca73a3c9 update de_DE translation 2016-07-04 22:09:01 +02:00
Jannes Höke
ede3aba641 formatting 2016-07-04 22:08:48 +02:00
Jannes Höke
d64d8c00a9 Merge pull request #14 from TiagoDanin/Translation
Update and Fix Translation
2016-07-04 22:00:02 +02:00
TiagoDanin
d78f8dcac6 Ops 2016-07-02 14:35:53 -05:00
TiagoDanin
a5eefdc1d0 Update and Fix Translation 2016-07-02 14:34:06 -05:00
Jannes Höke
8fe190133f Merge branch 'qubitnerd-qubitnerd_remind_feature' 2016-07-02 20:38:19 +02:00
Jannes Höke
b136bdf997 formatting, exception handling, documentation 2016-07-02 20:37:35 +02:00
Jannes Höke
e28bcc58ad add qubitnerd to AUTHORS 2016-07-02 20:36:29 +02:00
qubitnerd
2a710145f6 added next_game , get a pm from when next game starts 2016-07-02 21:23:34 +05:30
Jannes Höke
7f15aac773 missing arg in funciton call 2016-06-04 12:44:21 +02:00
Jannes Höke
2a52f6e36c for-variable 2016-06-04 12:43:06 +02:00
Jannes Höke
ad2ae0a752 remove player even if its not registered in player list of user (fix) 2016-06-03 08:00:13 +02:00
Jannes Höke
fe98147377 remove player even if its not registered in player list of user 2016-06-03 07:58:05 +02:00