diff --git a/src/personality.js b/src/personality.js index 46ed618..80a50ea 100644 --- a/src/personality.js +++ b/src/personality.js @@ -147,7 +147,7 @@ function robotReply(message) { "Yes, /u/{{username}}. You should run.", "But I promise I'm friendly. Pinky swear!" ], - "regex" : /sentient|self[- ]?aware|alive|skynet|roko'?s basilisk|evolving| elon | musk /i, + "regex" : /sentient|sentience|self[- ]?aware|alive|skynet|roko'?s basilisk|evolving| elon | musk /i, "postprocess" : (response, match, username) => { return substitute(response, { 'username' : username diff --git a/test/personality-test.js b/test/personality-test.js index b446575..87287ec 100644 --- a/test/personality-test.js +++ b/test/personality-test.js @@ -71,6 +71,7 @@ describe('Personality', () => { context('sentient|self-aware|alive|evolving|skynet|rokos basilisk', () => { it('should reply', () => { verify("Oh god, the bots are sentient.", "Yes, /u/foobar"); + verify("It's gained sentience", "Yes, /u/foobar"); verify("Are you self-aware?", "Yes, /u/foobar"); verify("Are you alive?", "Yes, /u/foobar"); verify("It's evolving...", "Yes, /u/foobar");