Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

10
LINES

< > BotCompany Repo | #1024196 // Discord Keep-Alive Module [keep bot looking online when the actual module is restarting]

JavaX fragment (include) [tags: use-pretranspiled]

Uses 5909K of libraries. Click here for Pure Java version (5216L/27K).

1  
!7
2  
3  
cmodule DiscordKeepAlive > DynPrintLogAndEnabled {
4  
  !include #1023434 // Discord
5  
  bool discordEnabled() { ret enabled; }
6  
7  
  start {
8  
    startDiscord();
9  
  }
10  
}

Author comment

Began life as a copy of #1023493

download  show line numbers  debug dex  old transpilations   

Travelled to 6 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1024196
Snippet name: Discord Keep-Alive Module [keep bot looking online when the actual module is restarting]
Eternal ID of this version: #1024196/3
Text MD5: b867998a61e3a9753ba6cefcc9b8be41
Transpilation MD5: d838aa5ed02f7caf7cb1bb5ac6aee70b
Author: stefan
Category: javax / discord / a.i.
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-07-26 00:17:06
Source code size: 172 bytes / 10 lines
Pitched / IR pitched: No / No
Views / Downloads: 110 / 293
Version history: 2 change(s)
Referenced in: [show references]