callcmds/transfer.js
Unexpected space before function parentheses. (space-before-function-paren)
module.exports = async (client, message, args, callDocument) => {
Expected indentation of 2 tabs but found 8 spaces. (indent)
return console.log("wtf no calldoc", callDocument);
Expected indentation of 1 tab but found 2 spaces. (indent)
let toDial = args;
Expected indentation of 2 tabs but found 8 spaces. (indent)
return message.reply(":thinking: Wanna transfer a call to void? How about `>hangup`?");
Expected indentation of 1 tab but found 2 spaces. (indent)
let toDialDocument;
Expected indentation of 1 tab but found 4 spaces. (indent)
toDial = toDial.replace(/(a|b|c)/ig, "2").
Expected dot to be on same line as property. (dot-location)
toDial = toDial.replace(/(a|b|c)/ig, "2").
Expected indentation of 2 tabs but found 8 spaces. (indent)
replace(/(d|e|f)/ig, "3").
Expected indentation of 2 tabs but found 8 spaces. (indent)
replace(/(j|k|l)/ig, "5").
Expected indentation of 3 tabs but found 6 spaces. (indent)
return message.reply(":x: You are unable to call *611 here because Customer Support is literally at your doorstep.");
Expected indentation of 2 tabs but found 4 spaces. (indent)
return message.reply(":x: Dialing error: Requested number does not exist. Call `*411` to check numbers.");
Expected indentation of 2 tabs but found 4 spaces. (indent)
return message.reply(":x: Dialing error: The number you have dialed has expired. Please contact the number owner to renew it.");
Expected indentation of 1 tab but found 2 spaces. (indent)
if (toDialDocument && !client.api.channels(toDialDocument._id).get()) {
Expected indentation of 2 tabs but found 4 spaces. (indent)
return message.reply(":x: Dialing error: Number is unavailable to dial. It could be deleted, hidden from the client, or it left the corresponding server. Please dial `*611` for further instructions.");
Expected indentation of 1 tab but found 2 spaces. (indent)
if (toDialDocument._id === callDocument.from.channelID || toDialDocument._id === callDocument.to.channelID) {
Expected indentation of 2 tabs but found 4 spaces. (indent)
} catch (err2) {
Expected indentation of 1 tab but found 2 spaces. (indent)
if (dialedInCall) {
Expected indentation of 2 tabs but found 4 spaces. (indent)
return message.reply(":x: Dialing error: The number you dialed is already in a call.");
Expected indentation of 1 tab but found 2 spaces. (indent)
try {
commands/rmstrike.js
Trailing spaces not allowed. (no-trailing-spaces)
More
Previous Next