Example code that uses a regex to parse channel ids from an incoming message
const lib = require('lib')({token: process.env.STDLIB_SECRET_TOKEN});
let parsedChannelMatches = context.params.event.content.match(/<#[0-9]*>/g);
if (parsedChannelMatches && parsedChannelMatches.length) {
await lib.discord.channels['@0.2.0'].messages.create({
channel_id: `${context.params.event.channel_id}`,
content: `You mentioned the following channels: ${parsedChannelMatches.join(', ')}`
});
}