Command constructor

Command()

Implementation

Command() {
  while (
      ((args.contains(commandName) || args.contains('$commandName:$name'))) &&
          args.isNotEmpty) {
    args.removeAt(0);
  }
  if (args.isNotEmpty && args.first == name) {
    args.removeAt(0);
  }
}