Uses 911K of libraries. Click here for Pure Java version (6419L/34K).
1 | !7 |
2 | |
3 | cmodule AudioWatchDog > DynPrintLog { |
4 | transient bool _startMinimized = true; |
5 | switchable S botName = "Discord Bots OS"; |
6 | |
7 | start { |
8 | doEvery(dm_osLoading() ? 10.0 : 0.0, 60.0, r { |
9 | if (!licensed() || dm_shuttingDown()) ret; |
10 | if (hasBot("Watch Dog for " + botName)) { |
11 | // print("Watch Dog running."); |
12 | } else { |
13 | print("Watch Dog not running, starting."); |
14 | nohupJavax(#1028187); |
15 | } |
16 | }); |
17 | } |
18 | } |
Began life as a copy of #1019696
download show line numbers debug dex old transpilations
Travelled to 8 computer(s): bhatertpkbcr, dpqxeycirhfy, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv
No comments. add comment
Snippet ID: | #1028188 |
Snippet name: | Discord Audio Watch Dog [restarts bot OS when it hangs] |
Eternal ID of this version: | #1028188/1 |
Text MD5: | 66112a7896aa16372093c81b6cc57a66 |
Transpilation MD5: | c68a526fb462cf1009af24620e2a34ae |
Author: | stefan |
Category: | javax / stefan's os |
Type: | JavaX source code (Dynamic Module) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2020-05-25 22:43:57 |
Source code size: | 462 bytes / 18 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 207 / 1084 |
Referenced in: | [show references] |