Closed wakame-tech closed 5 years ago
want to provide comment hook API and Command in a room.
comment hook API
Command
Comment Hook API
def on_comment(comment, room, game): if comment.text[0] != game.history[:-1].word[:-1]: game.continue("NG") if comment.text[:-1] == 'ん': game.end()
Overview
want to provide
comment hook API
andCommand
in a room.Comment Hook API
Example