const { KSoftClient } = require('@ksoft/api');
const ksoft = new KSoftClient('your-very-nice-token');
/* I use a helper asnyc function called main here.
* This would also work using a lambda function or class method,
* as long as it's asynchronous.
const { url } = await ksoft.images.aww();
message.channel.send(url); // discord.js