Attempt to Fix Bug

This commit is contained in:
Daniel Odendahl Jr
2017-08-21 21:29:48 +00:00
parent 8d6e964698
commit 91c4c30aee
7 changed files with 7 additions and 9 deletions
+1 -1
View File
@@ -26,7 +26,7 @@ module.exports = class PortalSendCommand extends Command {
async run(msg, args) {
const { message } = args;
const channels = this.client.channels.filter(c => c.type === 'text' && c.guild.id !== msg.guild.id);
const channels = this.client.channels.filter(c => c.guild.id !== msg.guild.id);
const channel = filterTopics(channels, 'portal').random();
if (!channel) return msg.say('Aww... No channel has an open portal...');
try {