Jump to content
McKay Development

ahmet

Member
  • Content Count

    11
  • Joined

  • Last visited

Recent Profile Visitors

202 profile views
  1. checks the user's gems and sends a trade offer. but I want the bot to add 1 gems to the trade offer created, but it always gives an error. I'm trying to do this with the following code trying to add 1 ore from the bot's inventory offer.addMyItems(item.amount = 1); I want the bot to add 1 gems to the trade offer. How can I do that? My Codes; case "gems": community.getUserInventory(partner, 753, 6, true, (error, items) => { if(error) { users.removeReservation(partner, true, removeFunc); return callback(error); } let accepted = files.getConfig().steamGems;
  2. The bot checks the user's gems and if there are enough gems, it transmits the swap offer. If the user cancels this trade offer and tries to create an offer again, then the bot says there are not enough gems. There's no problem creating the first trade offer, but if the first trade offer is canceled, the bot will always tell you there are not enough gems. I could not solve this problem. Can you please help? @Dr. McKay @SnaBe My Codes; case "gems": community.getUserInventory(partner, 753, 6, true, (error, items) => { if(error) { users.removeReservation(
  3. So how can I use cancelTime in an if else? I want to use this under another condition elsewhere
  4. Bot bir takas teklifi gönderdiğinde, kullanıcı 3 dakika içinde kabul etmezse, otomatik olarak iptal etmesini istiyorum, bunu nasıl yapacağımı bilmiyorum. kodlarım:
  5. same problem. but nobody wants to find a solution to this problem! we have almost the same codes.
  6. Hello, bot successfully accepts first trade offer but does not accept next day or second offer; my console log is : trade offer status : undefined.
  7. can you give me an example I don't know how to believe it
  8. Hello, when someone sends a trading offer to the boat. Unknown Command sends message How can I exclude this
  9. hello, after adding bot friends, the welcome message sometimes sends, sometimes not, what could be the reason? client.on('friendRelationship', (steamID, relationship) => { if(relationship === SteamUser.EFriendRelationship.RequestRecipient) { info = 'info'; client.getPersonas([steamID], function(err, personas) { if (err) {console.log('error.')} else { var persona = personas[steamID.getSteamID64()]; var name = persona ? persona.player_name : ("[" + steamID.getSteamID64() + "]");
×
×
  • Create New...