Libraryless. Click here for Pure Java version (2138L/14K).
sbool jda_channelContainsUserID(virtual Channel channel, long userID) { for (virtual Member member : (L) rcall getMembers(channel)) if (eq(rcall getIdLong(rcall getUser(member)), userID)) true; false; }
Began life as a copy of #1025369
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: | #1025370 |
Snippet name: | jda_channelContainsUserID |
Eternal ID of this version: | #1025370/1 |
Text MD5: | 6f6e25f58e0b509c0df7b64abd605fa0 |
Transpilation MD5: | d3ef2044141103ec302f9c4edb6661fa |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2019-09-26 14:37:54 |
Source code size: | 221 bytes / 6 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 162 / 242 |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) |