Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if(command === "bill") {
- let msg = await message.channel.send(':arrows_counterclockwise:');
- const {
- body
- } = await got('http://belikebill.azurewebsites.net/billgen-API.php?default=1', {
- encoding: null
- });
- await message.channel.send({
- file: {
- attachment: body,
- name: 'bill.jpg'
- }
- });
- message.delete
- msg.delete();
- };
Add Comment
Please, Sign In to add comment