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

5
LINES

< > BotCompany Repo | #1022145 // gazelle_editMessage

JavaX fragment (include)

svoid gazelle_editMessage(long channelID, long msgID, S text) {
  if (empty(text)) ret;
  O channel = call(dm_current_generic(), 'getChannel, channelID);
  call(call(channel, 'editMessageById, str(msgID), text), 'queue);
}

Author comment

Began life as a copy of #1022144

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: #1022145
Snippet name: gazelle_editMessage
Eternal ID of this version: #1022145/3
Text MD5: 10e8c03d22b1f137ce132b0480ee3bee
Author: stefan
Category: javax / discord
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-03-09 14:04:31
Source code size: 226 bytes / 5 lines
Pitched / IR pitched: No / No
Views / Downloads: 154 / 182
Version history: 2 change(s)
Referenced in: [show references]