function cleanContent

export function cleanContent(str: string, channel: TextBasedChannel): string;

The content to have all mentions replaced by the equivalent text.

Parameters

str: string
The string to be converted
channel: TextBasedChannel
The channel the string was sent in