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

7
LINES

< > BotCompany Repo | #1021727 // gazelle_editMessageTest

JavaX fragment (include)

svoid gazelle_editMessageTest() {
  call(call(call(dm_current_generic(), 'currentChannel), 'sendMessage, "test"),
    'queue, (java.util.function.Consumer) msg -> {
      sleepSeconds(3);
      call(call(msg, 'editMessage, "Edited!"), 'queue);
    });
}

Author comment

Began life as a copy of #1021669

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: #1021727
Snippet name: gazelle_editMessageTest
Eternal ID of this version: #1021727/5
Text MD5: e82cd19eff3d75537d25bbe8ced221d4
Author: stefan
Category: javax / discord
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-02-25 01:39:57
Source code size: 259 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 321 / 362
Version history: 4 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)
#1021732 - gazelle_userName (responding to)
#1021736 - gazelle_channel (as JDA object)