SyntaxIsHere

Untitled

Oct 14th, 2018
58
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.41 KB | None | 0 0
  1. if(command === "bill") {
  2. let msg = await message.channel.send(':arrows_counterclockwise:');
  3. const {
  4. body
  5. } = await got('http://belikebill.azurewebsites.net/billgen-API.php?default=1', {
  6. encoding: null
  7. });
  8.  
  9. await message.channel.send({
  10. file: {
  11. attachment: body,
  12. name: 'bill.jpg'
  13. }
  14. });
  15. message.delete
  16. msg.delete();
  17. };
Add Comment
Please, Sign In to add comment