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

7
LINES

< > BotCompany Repo | #1023456 // gazelle_discord_idle - set or get bot's idle status

JavaX fragment (include)

1  
svoid gazelle_discord_idle(bool value) {
2  
  call(gazelle_discordPresence(), 'setIdle, value);
3  
}
4  
5  
sbool gazelle_discord_idle() {
6  
  ret (bool) call(gazelle_discordPresence(), 'isIdle);
7  
}

Author comment

Began life as a copy of #1023455

download  show line numbers  debug dex  old transpilations   

Travelled to 8 computer(s): bhatertpkbcr, cfunsshuasjs, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, whxojlpjdney

No comments. add comment

Snippet ID: #1023456
Snippet name: gazelle_discord_idle - set or get bot's idle status
Eternal ID of this version: #1023456/8
Text MD5: 9bfa2413ad7efb144f56e038fe8c507d
Author: stefan
Category: javax / discord
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-06-22 21:02:28
Source code size: 189 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 252 / 289
Version history: 7 change(s)
Referenced in: [show references]