Jump to content
McKay Development

General_Wolf

Member
  • Posts

    6
  • Joined

  • Last visited

Posts posted by General_Wolf

  1. Like what i'm trying to do is when someone puts !sell in the chat with an argument on it. If there isn't a argument/number on it, the bot replies with "Sorry you must put a number".

     

    Since I use discord.js a lot my arguments may be wrong so if it is, please tell me the correct argument:

     

     

    client.on('friendMessage', (senderID, message) => {
    var args = message.slice(prefix.length).trim().split(/ +/g);
    if(message == prefix + "sell") {
    if(!args.length) {
    client.chatMessage(senderID, 'You didn\'t provide a number');
    }
    }
    });

     

     

    But here;'s the thing the bot doesn't reply when I didn't provide an argument. So anyways any tips and stuff would be greatly appreciated

  2. I need like a help section on node-steam-tradeoffer-manager,steam-community, steam-totp, and steam-user on where the commands are. Like where should I know where are the command help page.  I seem to can't find one in general. I'll really appreciate if someone shows me a link on where it is. Thank you  :D

×
×
  • Create New...