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 BotSearchCommand 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 botToFind = args.bot.id;
try {
const response = await request
-1
View File
@@ -29,7 +29,6 @@ module.exports = class DefineCommand 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 defineThis = encodeURI(args.word);
try {
const response = await request
-1
View File
@@ -32,7 +32,6 @@ module.exports = class DiscrimCommand 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 userToSearch = args.discrim;
const users = await this.client.users.filter(u => u.discriminator === userToSearch).map(u => u.username).sort();
const embed = new Discord.RichEmbed()
-1
View File
@@ -26,7 +26,6 @@ module.exports = class ForecastCommand 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 locationToSearch = args.locationQ;
try {
const response = await request
-1
View File
@@ -26,7 +26,6 @@ module.exports = class GoogleCommand 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 thingToSearch = args.query;
const searchMsg = await message.say('Searching...');
try {
-1
View File
@@ -28,7 +28,6 @@ module.exports = class IMDBCommand 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 queryMovie = args.movie;
try {
const response = await request
-1
View File
@@ -20,7 +20,6 @@ module.exports = class NeopetCommand 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 petID = args.pet;
return message.say(`http://pets.neopets.com/cp/${petID}/1/5.png`);
}
-1
View File
@@ -28,7 +28,6 @@ module.exports = class OsuCommand 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 usernameToSearch = args.username;
try {
const response = await request
-1
View File
@@ -32,7 +32,6 @@ module.exports = class PokedexCommand 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 pokemon = args.pokemon.toLowerCase();
const embed = new Discord.RichEmbed()
.setTitle('Information')
-1
View File
@@ -28,7 +28,6 @@ module.exports = class UrbanCommand 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 wordToDefine = args.word;
try {
const response = await request
-1
View File
@@ -23,7 +23,6 @@ module.exports = class WattpadCommand 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 queryBook = args.book;
try {
const response = await request
-1
View File
@@ -23,7 +23,6 @@ module.exports = class WeatherCommand 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 locationToSearch = args.locationQ;
try {
const response = await request
-1
View File
@@ -23,7 +23,6 @@ module.exports = class WikipediaCommand 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 thingToSearch = args.query.split(')').join('%29');
const title = encodeURI(thingToSearch);
try {
-1
View File
@@ -26,7 +26,6 @@ module.exports = class YouTubeCommand 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 videoToSearch = args.video;
try {
const response = await request
-1
View File
@@ -23,7 +23,6 @@ module.exports = class YuGiOhCommand 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 cardName = encodeURI(args.card);
try {
const response = await request