public override async Task ExecuteArmed(ServerBattle battle, Say e) { if (Enum.IsDefined(typeof(MapSupportLevel), level)) { await battle.SwitchMinMapSupportLevel(((MapSupportLevel)level)); await battle.SayBattle("Minimum map support level changed to " + ((MapSupportLevel)level).ToString()); } }