SHARE
TWEET

Untitled

a guest May 21st, 2019 81 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. const Discord = require("discord.js");
  2. const botconfig = require("../botconfig.json");
  3. const colors = require("../colors.json");
  4. const superagent = require("superagent");
  5. module.exports.run = async (bot, message, args) => {
  6.     let number = (args[0]);
  7.     let PPI = number * 0.97
  8.     var PPII = PPI.toFixed(2);
  9.     let IP = number * 0.03
  10.     var IPP = IP.toFixed(2);
  11.     let SO = number * 0.875
  12.     var SOO = SO.toFixed(2);
  13.     let OS = number * 0.125
  14.     var OSS = OS.toFixed(2);
  15.     let ST = number * 0.88
  16.     var STT = ST.toFixed(2);
  17.     let TS = number * 0.12
  18.     var TSS = TS.toFixed(2);
  19.     let SH = number * 0.885
  20.     var SHH = SH.toFixed(2);
  21.     let HS = number * 0.115
  22.     var HSS = HS.toFixed(2);
  23.     let SF = number * 0.89
  24.     var SFF = SF.toFixed(2);
  25.     let FS = number * 0.11
  26.     var FSS = FS.toFixed(2);
  27.     let GA = number * 0.9
  28.     var GAA = GA.toFixed(2);
  29.     let AG = number * 0.1
  30.     var AGG = AG.toFixed(2);
  31.     let E = number * 0.875
  32.     let EE = E.toFixed(2);
  33.     let EEE = number * 0.125
  34.     var EEEE = EEE.toFixed(2);
  35.     let feesEmbed = new Discord.RichEmbed()
  36.     .setColor(colors.teal)
  37.     .setTitle("**Fee Calculator**")
  38.     .addField("<:PayPal:577981394261639210>*PayPal Invoice - 3%*", `Price: $${PPII} \n Fee: $${IPP}`, false)
  39.     .addField("<:StockX:577981484854411285>*StockX Level 1 - 12.5%*", `Price: $${SOO} \n Fee: $${OSS}`, false)
  40.     .addField("<:StockX:577981484854411285>*StockX Level 2 - 12%*", `Price: $${STT} \n Fee: $${TSS}`, false)
  41.     .addField("<:StockX:577981484854411285>*StockX Level 3 - 11.5%*", `Price: $${SHH} \n Fee: $${HSS}`, false)
  42.     .addField("<:StockX:577981484854411285>*StockX Level 4 - 11%*", `Price: $${SFF} \n Fee: $${FSS}`, false)
  43.     .addField("<:Goat:577981530714931200>*Goat Average Seller - 9%*", `Price: $${GAA} \n Fee: $${AG}`, false)
  44.     .addField("<:ebay:577981604685807631>*Ebay Seller Fees - 12.5*", `Price: $${EE} \n Fee: $${EEEE}`, false)
  45.     .setFooter("Fees may not be exact.")
  46.     message.channel.send({embed: feesEmbed})
  47. }
  48. module.exports.config = {
  49.     name: "fees",
  50.     aliases: []
  51. }
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