The clearBotChat native AI script function is used to remove all entries from the botchat menu of every bot of the group.
()clearBotChat() // clearBotChat__
()clearBotChat();
This example code removes all entries from the botchat menu of every bot of the group.