createMessageCollector method
Implementation
MessageCollector createMessageCollector (bool Function(Message message) filter, { int? max, Duration? duration }) {
return MessageCollector<Message>(
filter: filter,
max: max,
time: duration
);
}