Saturday, 25 July 2020

Can someone add a delay to this code?

// Example: Adding Money To A Userif (message.content.toUpperCase() === `${prefix}BEG`) {money.updateBal(message.author.id, 5 /* Value */).then((i) => { // money.updateBal grabs the (userID, value) value being how much you want to add, and puts it into 'i'.message.channel.send(`**You got $5!**\n**New Balance:** ${i.money}`);})

Submitted July 25, 2020 at 04:52PM by DirtySmallEPIC

No comments:

Post a Comment