Remove all references to reactions

This commit is contained in:
Essem 2021-08-13 21:36:13 -05:00
parent e3fca9f4e9
commit fd573415f1
No known key found for this signature in database
GPG key ID: 7D497397CC3A2A8C
7 changed files with 1 additions and 46 deletions

View file

@ -4,7 +4,6 @@ const Command = require("../../classes/command.js");
class CountCommand extends Command {
async run() {
if (this.message.channel.guild && !this.message.channel.permissionsOf(this.client.user.id).has("addReactions")) return "I don't have the `Add Reactions` permission!";
if (this.message.channel.guild && !this.message.channel.permissionsOf(this.client.user.id).has("embedLinks")) return "I don't have the `Embed Links` permission!";
const counts = await database.getCounts();
const countArray = [];

View file

@ -51,7 +51,6 @@ class HelpCommand extends Command {
}
return embed;
} else {
if (this.message.channel.guild && !this.message.channel.permissionsOf(this.client.user.id).has("addReactions")) return "I don't have the `Add Reactions` permission!";
if (this.message.channel.guild && !this.message.channel.permissionsOf(this.client.user.id).has("embedLinks")) return "I don't have the `Embed Links` permission!";
const pages = [];
for (const category of Object.keys(help.categories)) {

View file

@ -6,7 +6,6 @@ const Command = require("../../classes/command.js");
class ImageSearchCommand extends Command {
async run() {
if (this.message.channel.guild && !this.message.channel.permissionsOf(this.client.user.id).has("addReactions")) return "I don't have the `Add Reactions` permission!";
if (this.message.channel.guild && !this.message.channel.permissionsOf(this.client.user.id).has("embedLinks")) return "I don't have the `Embed Links` permission!";
if (this.args.length === 0) return "You need to provide something to search for!";
this.client.sendChannelTyping(this.message.channel.id);