let commands: [string, string, boolean, string[], boolean][] = [];
self.command = function command(
description,
isDefault,
aliases,
deprecated = false
) {
// the last default wins, so cancel out any previously set default
if (isDefault) {
commands = commands.map(cmdArray => {
cmdArray[2] = false;