diff --git a/commands/text-edit/portal-send.js b/commands/text-edit/portal-send.js index 04c7313d..6467af21 100644 --- a/commands/text-edit/portal-send.js +++ b/commands/text-edit/portal-send.js @@ -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.guild.id !== msg.guild.id); + const channels = this.client.channels.filter(c => c.type === 'text' && 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 {