Libraryless. Click here for Pure Java version (2138L/14K).
1 | sbool jda_channelContainsUserID(virtual Channel channel, long userID) {
|
2 | for (virtual Member member : (L) rcall getMembers(channel)) |
3 | if (eq(rcall getIdLong(rcall getUser(member)), userID)) |
4 | true; |
5 | false; |
6 | } |
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: | 381 / 502 |
| Referenced in: | [show references] |