Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -61,3 +61,21 @@ typings/
*.swp
config.json
.vscode
/.vs/NapGod.js/config/applicationhost.config
/.vs/ProjectSettings.json
/.vs/slnx.sqlite
/.vs/VSWorkspaceState.json
/.vs/NapGod.js/v16/.suo
/server/backup/admin/system.version.bson
/server/backup/admin/system.version.metadata.json
/server/backup/napgod/users.metadata.json
/server/backup/napgod/users.bson
/server/backup/napgod/reports.metadata.json
/server/backup/napgod/reports.bson
/server/backup/napgod/logs.metadata.json
/server/backup/napgod/logs.bson
/server/backup/napgod/imgs.metadata.json
/server/backup/napgod/imgs.bson
/server/backup/napgod/focus.metadata.json
/server/backup/napgod/focus.bson
/db.dump
1 change: 1 addition & 0 deletions commands/BIMAXION.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,4 @@ Bimaxion (Bimaxion)
**Adaptation difficulty**: Hard
**Ideal scheduling**: The whole schedule's sleep distribution looks like Dymaxion, with one core before midnight, one core around dawn, one noon nap, one afternoon/evening nap.
-----------------------------------------------
More information about Bimaxion can be found at <https://www.polyphasic.net/bimaxion/>
7 changes: 3 additions & 4 deletions commands/BIPHASICX.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
Biphasic-X (Bi-x)
Biphasic-X (Bi-X)
-----------------------------------------------
**Invented by**: generalNguyen
**Alternatively known as**: Prototype X, Experimental X, Bi-x
**Alternatively known as**: Prototype X, Experimental X, Bi-X
**Total sleep**: 7-9 hours (equivalent to monophasic baseline)
**Classification**: Flexible, Biphasic, Non-reducing Polyphasic Sleep
**Specification**: 1 long core sleep, naps with varying lengths or consistent length depending on days, NREM1/NREM2 nap if duration is short (< ~25-30m), contains SWS/REM if duration is longer (> 60m)
**Mechanism**: 1 core sleep, 1 nap as main form. More than 1 core sleep or 1 nap (reduce total sleep) is allowed on busier days. Recovery day is done afterwards to recover from sleep deprivation (increase total sleep by extending either core length or nap length in Biphasic form) to keep up napping habits. Both core sleep and nap(s) are flexible and can be moved around to a degree to ensure circadian rhythm is preserved.
**Adaptation difficulty**: Easy
**Ideal scheduling**: Consistent dark period everyday, core sleep starts 1-2 hours after dark period. Nap during daytime, no later than 6 PM.
-----------------------------------------------
More information about Biphasic-X can be found at:
https://polyphasic.net/schedules/non-reducing-polyphasic-schedules/
More information about Biphasic-X can be found at <https://www.polyphasic.net/non-reducing-polyphasic-schedules/>
13 changes: 12 additions & 1 deletion commands/BIX.md
3 changes: 2 additions & 1 deletion commands/CAMAYL.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,5 @@ CAMAYL (Core As Much As You Like)
**Mechanism**: Variant of SPAMAYL that includes all core sleeps. Evolves well from adaptation to QC0, then QC0-flex as a helpful intermediate. The core sleeps provide more SWS than REM or vice versa depending on which hours they are placed in the day. Under emergency situations where an extended wake gap is required, a short power nap (10-15m) can be added to sustain wakefulness until the next core sleep. Strong reliance on the ability to detect when the need to rest is, to get quality core sleeps.
**Adaptation difficulty**: Hard
**Ideal scheduling**: 3-4 core sleeps on average from day to day, with 1-2 core sleeps around graveyard hours. Core spacing and placement should take into account natural periods of tiredness. In the afternoon 6+ hour wake gaps are common, whereas alertness may wane after 2-4 hours awake in the morning. One core sleep at night may be extended by 90m after adapted when one core has to be skipped or after a long extended wake period.
-----------------------------------------------
-----------------------------------------------
More information about CAMAYL can be found at <https://www.polyphasic.net/camayl/>
2 changes: 1 addition & 1 deletion commands/DC1.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ DC1 (Dual Core 1)
**Adaptation difficulty**: Moderate
**Ideal scheduling**: Dusk core around 21:00 to 22:00, dawn core is free to place till 07:00 or 08:00, REM nap around noon or early afternoon
-----------------------------------------------
More information about Dual Core schedules can be found at <https://polyphasic.net/index.php/polyphasic-sleep/schedules/dual-core/>
More information about DC1 can be found at <https://www.polyphasic.net/dual-core-1/>
2 changes: 1 addition & 1 deletion commands/DC2.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ DC2 (Dual Core 2)
**Adaptation difficulty**: Somewhat hard
**Ideal scheduling**: First core around 22:00, second core around 05:40, noon nap and afternoon nap
-----------------------------------------------
More information about Dual Core schedules can be found at <https://polyphasic.net/index.php/polyphasic-sleep/schedules/dual-core/>
More information about DC2 can be found at <https://www.polyphasic.net/dual-core-2/>
2 changes: 1 addition & 1 deletion commands/DC3.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ DC3 (Dual Core 3)
**Adaptation difficulty**: Hard
**Ideal scheduling**: 3-hour wake between 2 cores, dawn nap, noon nap and afternoon nap
-----------------------------------------------
More information about Dual Core schedules can be found at <https://polyphasic.net/index.php/polyphasic-sleep/schedules/dual-core/>
More information about DC3 can be found at <https://www.polyphasic.net/dual-core-3/>
1 change: 1 addition & 0 deletions commands/DC4.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,4 @@ DC4 (Dual Core 4)
**Ideal scheduling**: Sleeps are scheduled to start every 4 hours which resembles Uberman. Transition step to E5 or Uberman and also useful as a fallback from E5 or Uberman should adaptation fail. Generally inferior to DC3 unless keeping Uberman rhythm is useful (the extra nap leads to slower sleep onset). Cycle length on this schedule is likely to hit around 65m, so the second core might be shortenable to increase REM quantity in naps (although this is untested)
-----------------------------------------------
More information about Uberman and related transitional schedules can be found at <https://polyphasic.net/index.php/polyphasic-sleep/schedules/uberman/>
More information about DC4 can be found at <https://www.polyphasic.net/dual-core-4/>
4 changes: 3 additions & 1 deletion commands/DUCAMAYL.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,6 @@ DUCAMAYL (Dual Core As Much As You Like)
**Specification**: 2 cores, at least 1 short nap.
**Mechanism**: Variant of SPAMAYL that includes 2 core sleeps. Evolves well from adaptation to DC1-extended, DC2-(extended) and DC3-extended then learning to flex sleep as an intermediate step. The first core sleep provides a higher percentage of SWS while the second core a higher percentage of REM. Earlier naps in the day can contain REM sleep or just light sleep to boost alertness. Requires a great sense of tiredness timing to schedule each sleep block accordingly to avoid excessive tiredness from extended wake periods. Once adapted, a core sleep can be extended by 90m occasionally. Wake gap between 2 cores can be long or short depending on days.
**Adaptation Difficulty**: Hard
**Ideal Scheduling**: Both core sleeps around graveyard hours with some degree of flexibility (maximum flexibility is recommended to be 90m back and forth). A nap can be taken during noon break from work/school and a nap after work/school that have flexible hours. Wake gaps during the day are usually longer than at night, and fewer naps in the day are needed to sustain alertness thanks to the second core with abundant REM sleep. 1-3 daytime naps of 10-20m in length. Longer naps (e.g, 30-40m) are viable in early morning hours (6-10 AM) and if all SWS has been accounted for. Core(s) can be extended for 90m occasionally after adapted.
**Ideal Scheduling**: Both core sleeps around graveyard hours with some degree of flexibility (maximum flexibility is recommended to be 90m back and forth). A nap can be taken during noon break from work/school and a nap after work/school that have flexible hours. Wake gaps during the day are usually longer than at night, and fewer naps in the day are needed to sustain alertness thanks to the second core with abundant REM sleep. 1-3 daytime naps of 10-20m in length. Longer naps (e.g, 30-40m) are viable in early morning hours (6-10 AM) and if all SWS has been accounted for. Core(s) can be extended for 90m occasionally after adapted.
-----------------------------------------------
More information about DUCAMAYL can be found at <https://www.polyphasic.net/ducamayl/>
1 change: 1 addition & 0 deletions commands/DYMAXION.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,4 @@ Dymaxion (Dymaxion)
**Adaptation difficulty**: Insanely hard
**Ideal scheduling**: Arranging naps to fit in 4 aforementioned circadian needs to rest
-----------------------------------------------
More information about Dymaxion can be found at <https://www.polyphasic.net/dymaxion/>
2 changes: 1 addition & 1 deletion commands/E1.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ E1 (Everyman 1)
**Adaptation difficulty**: Easy
**Ideal scheduling**: Core at midnight, nap around noon
-----------------------------------------------
More information about Biphasic schedules can be found at <https://polyphasic.net/index.php/polyphasic-sleep/schedules/biphasic/>
More information about E1 can be found at <https://www.polyphasic.net/everyman-1/>
2 changes: 1 addition & 1 deletion commands/E2.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ E2 (Everyman 2)
**Adaptation difficulty**: Moderate
**Ideal scheduling**: Core close to midnight, nap before work, early-afternoon nap
-----------------------------------------------
More information about Everyman schedules can be found at <https://polyphasic.net/index.php/polyphasic-sleep/schedules/everyman/>
More information about E2 can be found at <https://www.polyphasic.net/everyman-2/>
2 changes: 1 addition & 1 deletion commands/E3.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ E3 (Everyman 3)
**Adaptation difficulty**: Hard
**Ideal scheduling**: Core as close to dusk as possible to gain more SWS, one nap around 04:00, one nap post-dawn, one early-afternoon nap. All naps should contain REM and little light sleep only.
-----------------------------------------------
More information about Everyman schedules can be found at <https://polyphasic.net/index.php/polyphasic-sleep/schedules/everyman/>
More information about E3 can be found at <https://www.polyphasic.net/everyman-3/>
2 changes: 1 addition & 1 deletion commands/E4.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ E4 (Everyman 4)
**Adaptation difficulty**: Very hard
**Ideal scheduling**: Core before midnight, 2 naps before the day starts, noon nap, afternoon nap
-----------------------------------------------
More information about Everyman schedules can be found at <https://polyphasic.net/index.php/polyphasic-sleep/schedules/everyman/>
More information about E4 can be found at <https://www.polyphasic.net/everyman-4/>
1 change: 1 addition & 0 deletions commands/E5.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,4 @@ E5 (Everyman 5)
**Ideal scheduling**: Sleeps are scheduled to start every 4 hours which resembles Uberman. Transition step between DC4 and Uberman and also useful as a fallback from Uberman should adaptation fail. Generally inferior to E4 unless keeping Uberman rhythm is useful (the extra nap leads to slower sleep onset)
-----------------------------------------------
More information about Uberman and related transitional schedules can be found at <https://polyphasic.net/index.php/polyphasic-sleep/schedules/everyman/>
More information about E5 can be found at <https://www.polyphasic.net/everyman-5/>
35 changes: 17 additions & 18 deletions commands/HELP.md
Original file line number Diff line number Diff line change
@@ -1,22 +1,21 @@
__**Nap God Commands**__
**Schedule list** `+schedules`
**Tips and tricks** `!help`
**Adaptation log help** `+loghelp`
**History help** `+histhelp`
__**NapGod Commands**__
**Schedule list:** `+schedules`
**Information:** `!help`
**Adaptation log help:** `+loghelp`
**History help:** `+histhelp`
-----------------------------------------------
**Set your sleep schedule** `+set [schedule-name]`
**Set your napchart** `+set [napchart-link]`
**Set your timezone** `+settz [timezone]`
**Set your sleep schedule:** `+set [schedule-name]`
**Set your napchart:** `+set [napchart-link]`
**Set your timezone:** `+settz [timezone]`
-----------------------------------------------
If `[username]` is omitted, the commands default to yourself.
**Look up a user's sleep status** `+status [username]`
**Look up a user's timezone** `+gettz [username]`
**Look up a user's napchart** `+get [username]`
**Look up a user's schedule history**
`+hist [username] [page]` or `+histfull [username] [page]`
**Look up a user's sleep status:** `+status [username]`
**Look up a user's timezone:** `+gettz [username]`
**Look up a user's napchart:** `+get [username]`
**Look up a user's schedule history:** `+hist [username] [page]` or `+histfull [username] [page]`
-----------------------------------------------
**Create a new napchart** `+create [time-ranges]`
**Show a napchart** `+nc [napchart-link]`
**Generate Nap God report** `+report`
**Enter Forced Productivity** `+focus [duration]`
**Leave Forced Productivity** `+unfocus`
**Create a new napchart:** `+create [time-ranges (e.g. 23:00-05:00, 13:00-13:20)]`
**Show a napchart:** `+nc [napchart-link]`
**Generate NapGod report:** `+report`
**Enter Forced Productivity:** `+focus [duration]`
**Leave Forced Productivity:** `+unfocus`
2 changes: 1 addition & 1 deletion commands/LOGHELP.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
--- Nap God Adaptation Logging ---
--- NapGod Adaptation Logging ---

**To log in a free format:** Type `+freelog` then write your adaptation log in the private message the bot sent you.

Expand Down
6 changes: 3 additions & 3 deletions commands/MHELP.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
--- Nap God moderator help ---
--- NapGod moderator help ---

-----------------------------------------------
**To make the Nap God say something**: `+say [message]` also send attachments
**To make the Nap God say something in another channel**: `+say [#channel] [message]` also send attachements
**To make the NapGod say something**: `+say [message]` also send attachments
**To make the NapGod say something in another channel**: `+say [#channel] [message]` also send attachements
**To set someone's schedule and napchart**: `+mset [schedule-name] [napchart-link] [username]`. Only the standard schedules are supported. Use none in place of the napchart link if you want the user not to have a napchart (any existing chart they have will be removed).
**To add the adapted-schedule role**: `+adapted [schedule-name] [username]`. It doesn't support modified schedule.
**To toggle the currently adapted role**: `+adapted [username]`. It add the adapted-schedule role of the currently set schedule.
Expand Down
2 changes: 1 addition & 1 deletion commands/MONO.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ Mono (Monophasic)
**Mechanism**: One sleep per day, ideally sleeping in one long chunk through ALL graveyard hours (00:00-08:00)
**Adaptation difficulty**: Walk in the park
**Ideal scheduling**: Core at midnight, wake at 8:00 AM
-----------------------------------------------
-----------------------------------------------
2 changes: 1 addition & 1 deletion commands/MONOPHASIC.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ Mono (Monophasic)
**Mechanism**: One sleep per day, ideally sleeping in one long chunk through ALL graveyard hours (00:00-08:00)
**Adaptation difficulty**: Walk in the park
**Ideal scheduling**: Core at midnight, wake at 8:00 AM
-----------------------------------------------
-----------------------------------------------
2 changes: 1 addition & 1 deletion commands/NAPTATION.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ Naptation (Naptation)
**Adaptation difficulty**: Variable
**Ideal scheduling**: Nap once every 1.7 hours. As adaptation progresses, naps can slowly be removed
-----------------------------------------------
More information about Uberman and related transitional schedules can be found at <https://polyphasic.net/index.php/polyphasic-sleep/adaptation/adaptation-methods/>
More information about Uberman and related transitional schedules can be found at <https://www.polyphasic.net/methods-to-prepare-for-adaptations/>
1 change: 1 addition & 0 deletions commands/QC0.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,4 @@ QC0 (Quad Core 0)
**Adaptation difficulty**: Hard
**Ideal scheduling**: One core sleep around or before midnight, the next 2 cores are ~2.5-3h apart from each other and the last core is in early/mid afternoon with a longer wake gap.
-----------------------------------------------
More information about QC0 can be found at <https://www.polyphasic.net/quad-core-0/>
37 changes: 25 additions & 12 deletions commands/SCHEDULES.md
Original file line number Diff line number Diff line change
@@ -1,16 +1,29 @@
**Schedule List**
To view information about a sleep schedule, type `+[schedule-name]`, e.g. `+DC1`
To view information about a sleep schedule, type `+[schedule-name]` (e.g. `+DC1`).
-----------------------------------------------
Non-polyphasic schedules: `Mono` `Random`
Biphasic schedules: `E1` `Segmented` `Siesta` `BiphasicX`
Everyman schedules: `E2` `E3` `E4` `E5` `Trimaxion` `SEVAMAYL`
Dual core schedules: `Bimaxion` `DC1` `DC2` `DC3` `DC4`
Tri core schedules: `TC1` `TC2` `Triphasic`
Experimental/Unproven schedules: `CAMAYL` `QC0` `DUCAMAYL`
Nap only schedules: `Dymaxion` `Naptation` `SPAMAYL` `Tesla` `Uberman`
**Non-polyphasic schedules:**
`Mono` `Random`

**Biphasic schedules:**
`Biphasic-X` `Segmented` `Siesta` `E1`

**Everyman schedules:**
`E1` `E2` `E3` `E4` `E5` `Trimaxion` `SEVAMAYL`

**Dual-Core schedules:**
`DC1` `DC2` `DC3` `DC4` `Bimaxion` `DUCAMAYL`

**Tri-Core schedules:**
`Triphasic` `TC1` `TC2`

**Experimental/Unproven schedules:**
`QC0` `CAMAYL`

**Nap-only schedules:**
`Uberman` `Naptation` `Tesla` `Dymaxion` `SPAMAYL`
-----------------------------------------------
Supported schedule variants are `shortened` `extended` `flipped` `modified` and `recovery`
Supported schedule variants are `shortened` `extended` `flipped` `modified` and `recovery`.

Use `+set` followed by a schedule name to set a schedule. For example, `+set DC1`
You may set a schedule variant after a dash, e.g. `+set DC1-extended`.
For schedules not listed use `+set Experimental`.
Use `+set` followed by a schedule name to set a schedule (e.g. `+set DC1`).
You may set a schedule variant after a dash (e.g. `+set DC1-extended`).
For schedules not listed use `+set Experimental`.
1 change: 1 addition & 0 deletions commands/SEGMENTED.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,4 @@ Segmented (Segmented)
**Adaptation difficulty**: Easy
**Ideal scheduling**: 1 core around 21:00, should not be later than 22:00ish, 1 core till morning
-----------------------------------------------
More information about Segmented can be found at <https://www.polyphasic.net/segmented-sleep/>
Loading