Hello I'm trying to make a discord bot using https://discord.js.org/#/ that acts like a command line bot to do necessarily things.I am familiar with the module "yargs" but it seems to only work for command line args, is there any other modules that does the same thing but with strings instead?Basically I want the user in discord to type something like "weather 001122" and the bot would know I'm looking for the weather in zipcode "001122". I was able to accomplish this using yargs for a command line version of this app.
Submitted February 01, 2019 at 10:07PM by col0ringbook
No comments:
Post a Comment