import Command from './Command' export default new Command(async ([ name ]) => { let connection if (connections.has(name)) { connection = connections.get(name) } else { if (connections.hasWith(name)) { connection = connections.getWith(name) } } if (!connection) return `Connection \`${name}\` not found!` return { embed: { title: `Connection: ${connection.name}` + (connection.disabled ? ' (disabled)' : ''), description: connection.getPrintable() } } }, { argc: 1, usage: `info `, example: `info test-connection` })