Commit graph

192 commits

Author SHA1 Message Date
Karho
683d203984 Update bot.py
Adding mode function
2017-03-04 09:17:20 +08:00
Karho
d8dfb438a3 Update game_manager.py
Changing the function end_game order to (self, user, chat)
2017-03-03 19:40:40 +08:00
Karho
52296e6df8 Update player.py 2017-02-24 14:16:52 +08:00
Karho
4c386218b0 Update player.py
Adding a new mode part in the function _card_playable.
2017-02-24 14:15:08 +08:00
Karho
393da434e8 Update game.py
Adding a new option "mode"
2017-02-24 13:39:14 +08:00
Karho
fae55f758d Merge pull request #30 from jh0ker/master
Update README.md
2017-02-24 13:32:34 +08:00
Karho
01640d1df9 Update README.md 2017-02-24 13:26:58 +08:00
Karho
92c07d12ad Update bot.py
Changing the function process_result on result_id in c.COLORS such that there is a try-except statement to prevent a deadlock in choosing colors.
2017-02-18 00:06:41 +08:00
Karho
bffd7fb1c3 Update errors.py
Adding a new PlayerLeftError
2017-02-17 22:55:11 +08:00
Karho
69dc39bb56 Update player.py
Correcting the code once again as the last commit.
2017-02-17 22:47:16 +08:00
Karho
75e3076285 Update player.py
Reverting back to the original rule.
2017-02-17 22:05:24 +08:00
Karho
f2e7a14318 Update bot.py
Adding the function notify_me more texts in else part.
Adding the function new_game to make players create a new game and join the game with the same command.
Changing the function reset_waiting_time to 60 seconds.
Changing the function skip_player in the else part to include the stats part for skipped_player.
2017-02-17 19:35:56 +08:00
Karho
0114fe774d Update game.py
Using set()) instead of list in  self.joined_before
2017-02-17 11:45:53 +08:00
Karho
615bb35359 Combining with "patch" branch (#29)
* Update unobot.po

* Update test_player.py

* Update test_player.py

* Update test_player.py

* Update test_player.py

* Update player.py

* Update player.py

* Update internationalization.py

* Update internationalization.py

* Update test_player.py

* Update test_player.py

* Update test_player.py

* Update player.py

* Update player.py

* Update player.py

* Update test_player.py

* Update test_player.py

* revert play 4 then 4 rule

* Update test_player.py

* Update player.py

* Update player.py

* Update player.py

* Update game.py

* Update game_manager.py

* Update game_manager.py

* Update game_manager.py

* Update player.py

* Update test_player.py

* Update player.py

* Update bot.py

* Update credentials.py

* Update credentials.py

* Update bot.py

* Update game.py

* Update game_manager.py

* Update game_manager.py

* Update player.py
2017-02-16 18:43:44 +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
Jannes Höke
91947abce0 remove old, empty games 2016-06-02 15:51:07 +02:00
Jannes Höke
8dcd05dbb2 kind-of bugfix for duplicate players 2016-06-02 15:36:40 +02:00
Jannes Höke
5c87e74ae2 small fixes 2016-06-02 15:03:33 +02:00