mirror of
https://github.com/syuilo/ai.git
synced 2024-11-21 20:58:00 +00:00
Add some log
This commit is contained in:
parent
69f271cae5
commit
2bd8b629ff
|
@ -69,6 +69,8 @@ export default class extends Module {
|
|||
|
||||
this.subscribeReply(null, false, post.id);
|
||||
|
||||
this.log('New kazutori game started');
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
@ -129,6 +131,8 @@ export default class extends Module {
|
|||
game.isEnded = true;
|
||||
this.games.update(game);
|
||||
|
||||
this.log('Kazutori game finished');
|
||||
|
||||
// お流れ
|
||||
if (game.votes.length <= 1) {
|
||||
this.ai.post({
|
||||
|
|
Loading…
Reference in a new issue