Advertisement
MeekTortoise

autocode embed example

Feb 8th, 2022
25
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. const lib = require('lib')({token: process.env.STDLIB_SECRET_TOKEN});
  2.  
  3.  
  4. if (context.params.event.content.startsWith(`!help`))
  5.   await lib.discord.channels['@0.1.2'].messages.create({
  6.     channel_id: `${context.params.event.channel_id}`,
  7.     content: '',
  8.     tts: false,
  9.     embeds: [
  10.       {
  11. type: 'rich',
  12. title: `help `,
  13. description: `
  14. **my prefix in this server is \`!\`**
  15. **-economy-**
  16. createbank
  17. bal
  18. gamble
  19. give
  20. leader
  21. rob
  22. search
  23. work
  24.          
  25. **-fun-**
  26. meme
  27.          
  28. **-admin-**
  29. coming soon
  30.          
  31. **-music-**
  32. setup
  33.         `,
  34.         color: 0x00ff80,
  35.       },
  36.     ],
  37.   });
  38.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement