diff --git a/gameloop.py b/gameloop.py index 4725496..d416522 100644 --- a/gameloop.py +++ b/gameloop.py @@ -2,6 +2,9 @@ import enum import random from collections import namedtuple +# TODO: !redeal +# TODO: offtopia-norandom preset + import cardcast_api class events(enum.Enum): @@ -638,7 +641,7 @@ def game(send, notice, voice, devoice, get_event): index = int(char) if 0 <= index < len(responses): - r.append(responses[index]) + r.append('[' + responses[index] + ']') else: # Not valid backreference, copy verbatim r.append('$' + char)