if message:
# match the punctuation used, if any, to an action
- actions = universe.categories["internal"]["language"].get(
+ actions = universe.contents["mudpy.linguistic"].get(
"actions"
)
default_punctuation = (
- universe.categories["internal"]["language"].get(
+ universe.contents["mudpy.linguistic"].get(
"default_punctuation"))
action = ""
message = message[0].lower() + message[1:]
# iterate over all words in message, replacing typos
- typos = universe.categories["internal"]["language"].get(
+ typos = universe.contents["mudpy.linguistic"].get(
"typos"
)
words = message.split()