Advertisement
purplewha_coder

Untitled

Oct 24th, 2022 (edited)
162
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.24 KB | None | 0 0
  1. $nomention
  2.  
  3.  
  4.  
  5. $if[$isNumber[$message[bot]]==true]
  6.  
  7. $suppressErrors[Could not find the bot.]
  8.  
  9. $httpGet[https://discord.watch/api/v2/bots/$message[bot]]
  10.  
  11. $if[$httpResult[application;description]==]
  12. $var[bio;None.]
  13. $else
  14. $var[bio;$httpResult[application;description]]
  15. $endif
  16.  
  17. $if[$httpResult[bot;approximate_guild_count]==]
  18. $var[count;Couldnt get the guild count.]
  19. $else
  20. $var[count;$numberSeparator[$replaceText[$httpResult[bot;approximate_guild_count];.000000;;1];,]]
  21. $endif
  22.  
  23. $author[Bot Search]
  24. $authorIcon[$userAvatar[$message[bot]]]
  25.  
  26. $description[
  27. $addField[Name;$username[$message[bot]]#$discriminator[$message[bot]] ]
  28. $addField[Created;$creationDate[$message[bot]]]
  29. $addField[Description;$var[bio]]
  30. $addField[Guilds;$var[count]]
  31. $addField[Invite;[$username[$message[bot]]\](https://discord.com/oauth2/authorize?client_id=$findUser[$message[bot]]&scope=bot%20applications.commands&permissions=0)]]
  32. $thumbnail[$userAvatar[$message[bot]]]
  33. $color[$random[0;79912]]
  34.  
  35.  
  36. $else
  37.  
  38.  
  39. $onlyIf[$findUser[$message[bot]]!=;Could not find the bot.]
  40. $onlyIf[$isBot[$findUser[$message[bot]]]==true;That isnt a bot user.]
  41.  
  42. $httpGet[https://discord.watch/api/v2/bots/$findUser[$message[bot]]]
  43.  
  44. $if[$httpResult[application;description]==]
  45. $var[bio;None.]
  46. $else
  47. $var[bio;$httpResult[application;description]]
  48. $endif
  49.  
  50. $if[$httpResult[bot;approximate_guild_count]==]
  51. $var[count;Couldnt get the guild count.]
  52. $else
  53. $var[count;$numberSeparator[$replaceText[$httpResult[bot;approximate_guild_count];.000000;;1];,]]
  54. $endif
  55.  
  56.  
  57. $author[Bot Search]
  58. $authorIcon[$userAvatar[$findUser[$message[bot]]]]
  59.  
  60.  
  61.  
  62. $description[
  63. $addField[Name;$username[$findUser[$message[bot]]]#$discriminator[$findUser[$message[bot]]] ]
  64. $addField[ID;$findUser[$message[bot]] ]
  65. $addField[Description;$var[bio]]
  66. $addField[Created;$creationDate[$findUser[$message[bot]]]]
  67. $addField[Added;$userJoined[$findUser[$message[bot]]]]
  68. $addField[Owner;$getUserVar[owner;$findUser[$message[bot]]]]
  69. $addField[Guilds;$var[count]]
  70. $addField[Invite;[$username[$findUser[$message[bot]]]\](https://discord.com/oauth2/authorize?client_id=$findUser[$message[bot]]&scope=bot%20applications.commands&permissions=0)]
  71. ]
  72. $thumbnail[$userAvatar[$findUser[$message[bot]]]]
  73. $color[$random[0;79912]]
  74.  
  75. $endif
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement