$removeAllComponents

Removes all components from the current message.

Note : Components are buttons and select menus.

Syntax

$removeAllComponents