Discord.js Commando Broadcast All command error
问题 I'm trying to make broadcast command send a message to all text channels in the guild. My current code looks like this: const discord = require('discord.js'); const Commando = require('discord.js-commando'); module.exports = class broadcastCommand extends Commando.Command { constructor(client) { super(client, { name: 'broadcast', aliases: ['bcast', 'bc'], group: 'ebs', memberName: 'broadcast', userPermissions: ['MANAGE_MESSAGES'], description: 'Sends an emergency broadcast to the emergency