Advertisement
Nightdavisao

neonify para os comandos personalizados da loritta

Mar 28th, 2019
423
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. var neonEmotes = {
  2. "A" : "<a:neonA:560921563051065354>",
  3.  
  4. "B" : "<a:neonB:560921630813978676>",
  5.  
  6. "C" : "<a:neonC:560921674975936524>",
  7.  
  8. "D" : "<a:neonD:560921704101314580>",
  9.  
  10. "E" : "<a:neonE:560921732219797506>",
  11.  
  12. "F" : "<a:neonF:560921759818317839>",
  13.  
  14. "G" : "<a:neonG:560921827082502144>",
  15.  
  16. "H" : "<a:neonH:560921961912467466>",
  17.  
  18. "I" : "<a:neonI:560922032716644383>",
  19.  
  20. "J" : "<a:neonJ:560922087309574144>",
  21.  
  22. "K" : "<a:neonK:560922110529110019>",
  23.  
  24. "L" : "<a:neonL:560922154615701529>",
  25.  
  26. "M" : "<a:neonM:560922275759783987>",
  27.  
  28. "N" : "<a:neonN:560922332651061250>",
  29.  
  30. "O" : "<a:neonO:560922378767695905>",
  31.  
  32. "P" : "<a:neonP:560922437307596801>",
  33.  
  34. "Q" : "<a:neonQ:560922704564322359>",
  35.  
  36. "R" : "<a:neonR:560922736776577034>",
  37.  
  38. "S" : "<a:neonS:560922765280935961>",
  39.  
  40. "T" : "<a:neonT:560922823133233153>",
  41.  
  42. "U" : "<a:neonU:560922871313203201>",
  43.  
  44. "V" : "<a:neonV:560922920973762585>",
  45.  
  46. "W" : "<a:neonW:560922961830477878>",
  47.  
  48. "X" : "<a:neonX:560922995691094017>",
  49.  
  50. "Y" : "<a:neonY:560923072132022292>",
  51.  
  52. "Z" : "<a:neonZ:560923116545507355>",
  53. }
  54.  
  55. function neonify (string) {
  56.     var toNeonify = string.split("")
  57.     var neonifyed = []
  58.     for (var i = 0; i < toNeonify.length; i++) {
  59.            if (neonEmotes[toNeonify[i].toUpperCase()] !== undefined) {
  60.                neonifyed.push(neonEmotes[toNeonify[i].toUpperCase()])
  61.            } else {
  62.                neonifyed.push(toNeonify[i])
  63.            }
  64.     }
  65.     return neonifyed.join("")
  66. }
  67. sendMessage(neonify(joinArguments()))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement