Uses 5909K of libraries. Click here for Pure Java version (8995L/47K).
!7 set flag AllowMetaCode. meta-transformNow { tok_standardBot } standard bot DiscordHelpEmbedTest { public S processSimplifiedLine(S s, O... _) { try answer super.processSimplifiedLine(s, _); if "embed test" { optPar MessageChannel channel; new EmbedBuilder eb; eb.setAuthor("MKLab FM Bot", null, null); eb.setTitle("Purpose", null); eb.setDescription("I play MKLab FM, the best Electronic Dance Music Radio, in a voice channel of your choice."); eb.addField("Syntax", "bla\nblubb\nmore", true); // small font footer eb.setFooter("Nobody reads the fine print", null); eb.setThumbnail(imageSnippetURL(#1102722)); // Any URL works channel.sendMessage(eb.build()).queue(); } null; } }
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: | #1025400 |
Snippet name: | Discord Help Embed Test |
Eternal ID of this version: | #1025400/4 |
Text MD5: | 170421222abf914fff2a0cc24e8f7992 |
Transpilation MD5: | 1362e618aed661013535733802f0bb24 |
Author: | stefan |
Category: | javax |
Type: | JavaX source code (Dynamic Module) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2019-09-27 19:47:13 |
Source code size: | 797 bytes / 24 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 196 / 5681 |
Version history: | 3 change(s) |
Referenced in: | [show references] |