Advertisement
Guest User

Untitled

a guest
Feb 19th, 2020
137
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.46 KB | None | 0 0
  1. discord command .test3:
  2. bots: User-Info
  3. trigger:
  4. loop guilds of "User-Info":
  5. loop discord members of loop-value:
  6. if status of loop-member is do not disturb:
  7. add "%loop-value-2%" to {_ee::*}
  8.  
  9. loop guilds of "User-Info":
  10. loop discord members of loop-value:
  11. if status of loop-member is online:
  12. add "%loop-value-2%" to {_te::*}
  13.  
  14. loop guilds of "User-Info":
  15. loop discord members of loop-value:
  16. if status of loop-member is offline:
  17. add "%loop-value-2%" to {_be::*}
  18.  
  19.  
  20.  
  21. make embed:
  22. set the title of embed to title with text "Title"
  23. set the description of embed to "Stats about %discord name of event-guild%"
  24. set the colour of the embed to Cyan
  25. add split field named "`Online` :green_circle: %nl% %size of {_te::*}% " to embed
  26. add split field named "`Do not Disturb` :red_circle: %nl% %size of {_ee::*}%" to embed
  27. add split field named "`Offline` :white_circle: %nl% %size of {_be::*}%" to embed
  28. set the thumbnail of embed to "%avatar of event-bot%"
  29. set the footer of embed to footer with text "%event-member%" and icon "%avatar of event-member%"
  30. set the timestamp of embed to now
  31. send the last created embed to event-channel with event-bot
  32. stop
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement