run(message, args, commandLang) { let embed = this.client.getDekuEmbed(message); message.channel.startTyping(); request('https://togethertube.com/room/create', (error, response) => { if (error) { embed.setColor(this.client.config.colors.error); embed.setTitle(commandLang.error_title); embed.setDescription(commandLang.error_description); } else { embed.setDescription(response.request.uri.href); embed.setAuthor('TogetherTube', 'https://togethertube.com/assets/img/favicons/favicon-32x32.png', 'https://togethertube.com/'); } message.channel.stopTyping(); message.channel.send({embed}); }); }
console.log(error); } else { var url = response.request.uri.href; var cookie = url.split(';')[1]; request.get(url, function (error, response, body) {
scam_details.status = 'Offline'; new_cache.inactives.push(scam); } else if (r.uri.href.indexOf('cgi-sys/suspendedpage.cgi') !== -1) { scam_details.status = 'Suspended'; new_cache.inactives.push(scam);