diff --git a/src/settings.py b/src/settings.py index 5854891..c4d7f25 100644 --- a/src/settings.py +++ b/src/settings.py @@ -344,7 +344,6 @@ DISABLED_COMMANDS = frozenset() ROLE_COMMAND_EXCEPTIONS = set() GIF_CHANCE = 1/50 -FORTUNE_CHANCE = 1/25 ALL_FLAGS = frozenset("AaDdFgjmNSsw") diff --git a/src/wolfgame.py b/src/wolfgame.py index e055f05..32830b4 100644 --- a/src/wolfgame.py +++ b/src/wolfgame.py @@ -3696,17 +3696,6 @@ def transition_day(cli, gameid=0): "https://i.imgur.com/PIIfL15.gifv", "https://i.imgur.com/eJiMG5z.gifv"] )) - elif random.random() < var.FORTUNE_CHANCE: - try: - out = subprocess.check_output(("fortune", "-s")) - except FileNotFoundError: - pass - else: - out = out.decode("utf-8", "replace") - out = out.replace("\n", " ") - out = re.sub(r"\s+", " ", out) # collapse whitespace - out = out.strip() # remove surrounding whitespace - revt.data["message"].append(out) # Priorities: # 1 = harlot/succubus visiting victim