diff options
Diffstat (limited to 'rules/curfew.js')
| -rw-r--r-- | rules/curfew.js | 69 |
1 files changed, 0 insertions, 69 deletions
diff --git a/rules/curfew.js b/rules/curfew.js deleted file mode 100644 index 9fc697f..0000000 --- a/rules/curfew.js +++ /dev/null @@ -1,69 +0,0 @@ -const internals ={ - - activities: [ - 'sex', - 'skinny dipping', - 'playing chess', - 'debating', - 'dancing', - 'breeding horses', - 'laughing', - 'sneezing', - 'cat wrestling', - 'ordering food', - 'remote work', - 'internet usage', - 'sleeping', - 'eating', - 'vacuuming', - 'using a blender', - 'having a party', - 'theft', - 'engaging in economic activity', - 'using ketchup', - 'tailgating', - 'embezzelment', - 'taking the U-Bahn', - 'cutting your hair', - 'using recreational drugs', - 'tipping', - 'interpretive dancing', - 'origami', - 'whittling', - 'going for a walk', - 'working' - ], - - restrictions: [ - 'is not allowed', - 'is mandatory', - 'is optional', - 'requires a mask', - 'is only allowed indoors', - 'is only allowed outdoors', - 'is only allowed in groups larger than seven', - 'requires a license', - 'is allowed under police supervision', - 'is allowed following social distancing rules', - 'is only allowed in Neukölln', - 'is only allowed in Kreuzberg', - 'is only allowed in Charlottenburg', - 'is only allowed in Wedding', - 'is only allowed in Mitte', - 'is only allowed in Prenzlauer Berg', - 'is only allowed in Friedrichshain', - ] -}; - -module.exports = () => { - - const startTime = Math.floor(Math.random() * 23) + 1; - const endTtime = Math.floor(Math.random() * 23) + 1; - const activity = internals.activities[Math.floor(Math.random() * internals.activities.length)]; - const restriction = internals.restrictions[Math.floor(Math.random() * internals.restrictions.length)]; - - return { - emoji: '🕚', - text: `From ${startTime}:00 to ${endTtime}:00 ${activity} ${restriction}` - }; -} |