SHARE
TWEET

Untitled

a guest Mar 26th, 2020 67 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. {{ $pts := 0}}
  2. {{ $ps4des := (joinStr "" "Session ID:" "\n" (slice .Message.Content 8)) }}
  3. {{ $xboxdes := (joinStr "" "Session ID:" "\n" (slice .Message.Content 9)) }}
  4. {{ $pcdes := (joinStr "" "Session ID:" "\n" (slice .Message.Content 7)) }}
  5. {{$ps4title := "**Current PS4 Session ID's                                                                          **"}}
  6. {{$xboxtitle := "**Current XBOX Session ID's                                                                      **"}}
  7. {{$pctitle := "**Current PC Session ID's                                                                             **"}}
  8.  
  9. {{ $ps4session := cembed "title" $ps4title "description" $ps4des "color" 6188782 "footer" (sdict "text" "Session Post will expire in 12 hours from Time of Post" ) }}
  10.  
  11. {{ $xboxsession := cembed "title" $xboxtitle "description" $xboxdes "color" 3660904 "footer" (sdict "text" "Session Post will expire in 12 hours from Time of Post" ) }}
  12.  
  13. {{ $pcsession := cembed "title" $pctitle "description" $pcdes "color" 8644321 "footer" (sdict "text" "Session Post will expire in 12 hours from Time of Post" ) }}
  14.  
  15. {{if eq (inFold .Message.Content "-id ps4") true}}
  16. {{ execAdmin "GiveRep" .User $pts}}
  17. {{deleteResponse 1}}
  18. {{ sendMessage 683481166048788544 (joinStr "" "Gave User **" .User.Username "** `" $pts "` Rep for " " `Posted Session` Session Message: ` " .Message.Content "`") }}
  19. {{$mID := sendMessageRetID nil $ps4session }}
  20. {{addMessageReactions nil $mID "jbsiddelete:692503779362340865"}}
  21. {{ deleteTrigger 1}}
  22. {{ deleteMessage nil $mID 43200}}
  23. {{else if eq (inFold .Message.Content "-id xbox") true}}
  24. {{ execAdmin "GiveRep" .User $pts}}
  25. {{deleteResponse 1}}
  26. {{ sendMessage 683481166048788544 (joinStr "" "Gave User **" .User.Username "** `" $pts "` Rep for " " `Posted Session` Session Message: ` " .Message.Content "`") }}
  27. {{$mID := sendMessageRetID nil $xboxsession}}
  28. {{addMessageReactions nil $mID "jbsiddelete:692503779362340865"}}
  29. {{ deleteTrigger 1}}
  30. {{ deleteMessage nil $mID 43200}}
  31. {{else if eq (inFold .Message.Content "-id pc") true}}
  32. {{ execAdmin "GiveRep" .User $pts}}
  33. {{deleteResponse 1}}
  34. {{ sendMessage 683481166048788544 (joinStr "" "Gave User **" .User.Username "** `" $pts "` Rep for " " `Posted Session` Session Message: ` " .Message.Content "`") }}
  35. {{$mID := sendMessageRetID nil $pcsession}}
  36. {{addMessageReactions nil $mID "jbsiddelete:692503779362340865"}}
  37. {{ deleteTrigger 1}}
  38. {{ deleteMessage nil $mID 43200}}
  39. {{else if not (inFold .Message.Content "-id")}}
  40. {{ deleteTrigger 30}}
  41. {{ sendMessage 683481166048788544 (joinStr "" "Removed Message from **" .User.Username "** for `Conversation in #session-id` in `" .Message.Content "`") }}
  42. {{$error := sendMessageRetID nil (joinStr "" .User.Mention " Please move conversation to the appropriate channel. \n If you would like to post a session ID, please read the Guide above. \n If you are using the command, make sure you are typing your console with the correct formatting.  ")}}
  43. {{ deleteMessage nil $error 30}}
  44. {{end}}
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top