Stop Logging Command Use

This commit is contained in:
Daniel Odendahl Jr
2017-04-08 03:35:45 +00:00
parent fb88513e4f
commit 01c7b13981
102 changed files with 1 additions and 102 deletions
-1
View File
@@ -27,7 +27,6 @@ module.exports = class BinaryCommand extends commando.Command {
if (message.channel.type !== 'dm') {
if (!message.channel.permissionsFor(this.client.user).hasPermission(['SEND_MESSAGES', 'READ_MESSAGES'])) return;
}
console.log(`[Command] ${message.content}`);
const turnToBinary = args.text;
const binaryText = stringToBinary(turnToBinary);
return message.say(binaryText);
-1
View File
@@ -21,7 +21,6 @@ module.exports = class CowsayCommand extends commando.Command {
if (message.channel.type !== 'dm') {
if (!message.channel.permissionsFor(this.client.user).hasPermission(['SEND_MESSAGES', 'READ_MESSAGES'])) return;
}
console.log(`[Command] ${message.content}`);
const turnToCowsay = args.text;
return message.code(null, cowsay.say({
text: turnToCowsay,
-1
View File
@@ -24,7 +24,6 @@ module.exports = class EmbedCommand extends commando.Command {
if (!message.channel.permissionsFor(this.client.user).hasPermission('EMBED_LINKS')) return message.say(':x: Error! I don\'t have the Embed Links Permission!');
if (!message.channel.permissionsFor(this.client.user).hasPermission('MANAGE_MESSAGES')) return message.say(':x: Error! I don\'t have the Manage Messages Permission!');
}
console.log(`[Command] ${message.content}`);
const embedMessage = args.text;
const embed = new Discord.RichEmbed()
.setAuthor(message.author.username, message.author.avatarURL)
-1
View File
@@ -30,7 +30,6 @@ module.exports = class MorseCommand extends commando.Command {
if (message.channel.type !== 'dm') {
if (!message.channel.permissionsFor(this.client.user).hasPermission(['SEND_MESSAGES', 'READ_MESSAGES'])) return;
}
console.log(`[Command] ${message.content}`);
const toMorse = args.text;
const morseEncoded = morse.encode(toMorse);
return message.say(morseEncoded);
-1
View File
@@ -31,7 +31,6 @@ module.exports = class PirateCommand extends commando.Command {
if (message.channel.type !== 'dm') {
if (!message.channel.permissionsFor(this.client.user).hasPermission(['SEND_MESSAGES', 'READ_MESSAGES'])) return;
}
console.log(`[Command] ${message.content}`);
const turnToPirate = args.text;
const pirate = pirateSpeak.translate(turnToPirate);
if (pirate.length > 1950) return message.say(':x: Error! Your message is too long!');
-1
View File
@@ -20,7 +20,6 @@ module.exports = class ReverseCommand extends commando.Command {
if (message.channel.type !== 'dm') {
if (!message.channel.permissionsFor(this.client.user).hasPermission(['SEND_MESSAGES', 'READ_MESSAGES'])) return;
}
console.log(`[Command] ${message.content}`);
const stringToReverse = args.text;
const reversed = stringToReverse.split('').reverse().join('');
return message.say(`\u180E${reversed}`);
-1
View File
@@ -33,7 +33,6 @@ module.exports = class RomajiCommand extends commando.Command {
if (message.channel.type !== 'dm') {
if (!message.channel.permissionsFor(this.client.user).hasPermission(['SEND_MESSAGES', 'READ_MESSAGES'])) return;
}
console.log(`[Command] ${message.content}`);
const romajify = args.kana;
const romajified = hepburn.fromKana(romajify);
return message.say(romajified);
-1
View File
@@ -28,7 +28,6 @@ module.exports = class SayCommand extends commando.Command {
if (!message.channel.permissionsFor(this.client.user).hasPermission(['SEND_MESSAGES', 'READ_MESSAGES'])) return;
if (!message.channel.permissionsFor(this.client.user).hasPermission('MANAGE_MESSAGES')) return message.say(':x: Error! I don\'t have the Manage Messages Permission!');
}
console.log(`[Command] ${message.content}`);
const copycat = args.text;
await message.delete();
return message.say(`\u180E${copycat}`);
-1
View File
@@ -32,7 +32,6 @@ module.exports = class ShuffleCommand extends commando.Command {
if (message.channel.type !== 'dm') {
if (!message.channel.permissionsFor(this.client.user).hasPermission(['SEND_MESSAGES', 'READ_MESSAGES'])) return;
}
console.log(`[Command] ${message.content}`);
const thingToShuffle = args.text;
return message.say(`\u180E${thingToShuffle.shuffle()}`);
}
-1
View File
@@ -135,7 +135,6 @@ module.exports = class TranslateCommand extends commando.Command {
if (!message.channel.permissionsFor(this.client.user).hasPermission(['SEND_MESSAGES', 'READ_MESSAGES'])) return;
if (!message.channel.permissionsFor(this.client.user).hasPermission('EMBED_LINKS')) return message.say(':x: Error! I don\'t have the Embed Links Permission!');
}
console.log(`[Command] ${message.content}`);
const languageto = args.to.toLowerCase();
const query = args.text;
try {
-1
View File
@@ -30,7 +30,6 @@ module.exports = class WebhookCommand extends commando.Command {
if (!message.channel.permissionsFor(this.client.user).hasPermission(['SEND_MESSAGES', 'READ_MESSAGES'])) return;
if (!message.channel.permissionsFor(this.client.user).hasPermission('MANAGE_MESSAGES')) return message.say(':x: Error! I don\'t have the Manage Messages Permission!');
}
console.log(`[Command] ${message.content}`);
const content = args.text;
try {
await message.delete();
-1
View File
@@ -21,7 +21,6 @@ module.exports = class YodaCommand extends commando.Command {
if (message.channel.type !== 'dm') {
if (!message.channel.permissionsFor(this.client.user).hasPermission(['SEND_MESSAGES', 'READ_MESSAGES'])) return;
}
console.log(`[Command] ${message.content}`);
const turnToYoda = args.text;
try {
const response = await request
-1
View File
@@ -27,7 +27,6 @@ module.exports = class ZalgoCommand extends commando.Command {
if (message.channel.type !== 'dm') {
if (!message.channel.permissionsFor(this.client.user).hasPermission(['SEND_MESSAGES', 'READ_MESSAGES'])) return;
}
console.log(`[Command] ${message.content}`);
const zalgoified = zalgo(args.text);
return message.say(`\u180E${zalgoified}`);
}